We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7102e commit 8810ee6Copy full SHA for 8810ee6
sentry_sdk/ai/utils.py
@@ -21,7 +21,7 @@ class GEN_AI_ALLOWED_MESSAGE_ROLES:
21
GEN_AI_ALLOWED_MESSAGE_ROLES.SYSTEM: ["system"],
22
GEN_AI_ALLOWED_MESSAGE_ROLES.USER: ["user"],
23
GEN_AI_ALLOWED_MESSAGE_ROLES.ASSISTANT: ["assistant", "ai"],
24
- GEN_AI_ALLOWED_MESSAGE_ROLES.TOOL_CALL: ["tool_call"],
+ GEN_AI_ALLOWED_MESSAGE_ROLES.TOOL_CALL: ["tool", "tool_call"],
25
}
26
27
GEN_AI_MESSAGE_ROLE_MAPPING = {}
0 commit comments