💡 Hint: Mention RunLLM in the thread for followups.
Can you share your phoenix version please? Any details that could help us replicate would also be great
If you tell me the right answer to this question, I'll make sure I don't make the same mistake twice!
Feedback
Type the right answer here...
↵ Please 'enter' to submit
Hi Tony, Thanks for the quick response! I updated to Phoenix v12.6.1, but I'm still encountering the same error in the Sessions UI
Error fetching GraphQL query 'sessionLoaderQuery' with variables '{"id":"0"}':
[{"message":"an unexpected error occurred","locations":[{"line":4,"column":3}],"path":["session"]}]current versions:
- arize-phoenix: 12.6.1
- arize-phoenix-client: 1.21.0
- arize-phoenix-otel: 0.13.0
- openinference-instrumentation: 0.1.40
- openinference-instrumentation-autogen-agentchat: 0.1.5
- openinference-instrumentation-openai: 0.1.39
- openinference-semantic-conventions: 0.1.23and my implementation follows the pattern:
tracer = trace.get_tracer(__name__)
with tracer.start_as_current_span(
"query_request",
attributes={
SpanAttributes.OPENINFERENCE_SPAN_KIND: OpenInferenceSpanKindValues.CHAIN.value,
SpanAttributes.SESSION_ID: session_id,
SpanAttributes.INPUT_VALUE: message,
}
) as root_span:
with using_session(session_id):
# Child spans here
root_span.set_status(Status(StatusCode.OK))
```
The traces appear correctly in Phoenix, and I can see the session.id attribute, but the Sessions page shows the GraphQL error. Could you provide a minimal sample script to help me verify if the issue is with my code or still on the Cloud,
😀
Can you try performing a hard refresh of the browser and try again? I can see the original bug in the error message still. The wrong id (0) was making it into the url
