You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #133 we added code to link eval results to the generate trace. The key here was to return the trace id from the Agent prediction.
However, it looks like the trace id ends up being 00000000000000000000000000000000
Here's an example log message
2024-05-30T15:36:38.079-0700 INFO agent/agent.go:114 Agent.Generate returning response {"traceId": "00000000000000000000000000000000", "evalMode": true, "response": {"blocks": [{"kind": "MARKUP", "language": "", "contents": "To get the ids of the execution traces for block `01HZ0W9X2XF914XMG6REX1WVWG`, you can use the following command:", "outputs": [], "trace_ids": [], "id": "01HZ5TBS9ZCPKVRTZCYYFT1HJB"}, {"kind": "CODE", "language": "bash", "contents": "curl http://localhost:8080/api/blocklogs/01HZ0W9X2XF914XMG6REX1WVWG | jq .execTraceIds ", "outputs": [], "trace_ids": [], "id": "01HZ5TBS9ZCPKVRTZCZ23PYSPD"}, {"kind": "MARKUP", "language": "", "contents": "Please execute this command to retrieve the ids of the execution traces for the specified block. Let me know if you need any further assistance!", "outputs": [], "trace_ids": [], "id": "01HZ5TBS9ZCPKVRTZCZ4NCMW0V"}], "trace_id": "00000000000000000000000000000000"}}
I suspect the problem is that we aren't setting up the OTEL trace provider during evaluation.
I think we need to call
It looks like that isn't the problem. It looks like no span is defined so we get
a noopspan. I suspect this is because we are calling it as a library function and not as an RPC.
In #133 we added code to link eval results to the generate trace. The key here was to return the trace id from the Agent prediction.
However, it looks like the trace id ends up being
00000000000000000000000000000000
Here's an example log message
I suspect the problem is that we aren't setting up the OTEL trace provider during evaluation.
I think we need to call
foyle/app/pkg/application/app.go
Line 76 in 5a63b46
The text was updated successfully, but these errors were encountered: