Skip to content

Commit 0d7102e

Browse files
committed
fix tool call role name
1 parent ab4dec0 commit 0d7102e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/ai/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class GEN_AI_ALLOWED_MESSAGE_ROLES:
1414
SYSTEM = "system"
1515
USER = "user"
1616
ASSISTANT = "assistant"
17-
TOOL_CALL = "tool_call"
17+
TOOL_CALL = "tool"
1818

1919

2020
GEN_AI_MESSAGE_ROLE_REVERSE_MAPPING = {

0 commit comments

Comments
 (0)