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
Errors occurring during chat and embedding creation must be recorded. Along with the standard error properties, we will include additional attributes as custom attributes to the agent.errors.add call.
Attribute
LlmError
http.statusCode
set from response.statusTBD on how to get this
error.message
set from response.error.message
error.code
set from response.code
error.param
set from response.param
completion_id
id of chat completion creation, does not exist for embedding errors
embedding_id
id of embedding. does not exist for chat completion errors.
Note: We should still be recording the relevant LlmEmbedding, LlmChatCompletionMessage, LlmChatCompletionSummary on error although they may lack the same amount of detail as a successful creation. The only addition is an error: true property to the events