What is the consensus on error reporting? (For exa...
# proj-sdk
s
What is the consensus on error reporting? (For example - if you start a conversation with an invalid LLM API key.) Currently, in the SDK, a local conversation raises a
ConversationRunError
and the stream gets an event like the following added:
Copy code
{
  id: "e4a17e17-1957-42d1-81ca-d4597594474d"
  key: "execution_status"
  kind: "ConversationStateUpdateEvent"
  source: "environment"
  timestamp: "2025-11-07T13:48:22.717376"
  value: "error"
}
This doesn't really give any context on what the error was - only that there was one. The way I see it, we have some options: • Augment this event with additional details • Create a new
ErrorEvent
• Find a way to send errors outside the context of the event stream. (I don't like this one) Thoughts?