Skip to content

Commit 73ac9b7

Browse files
committed
fix(integrations): openai-agents fixing the input messages structure which was wrapped too much in some cases
1 parent 3eac23c commit 73ac9b7

File tree

1 file changed

+1
-1
lines changed
  • sentry_sdk/integrations/openai_agents

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/openai_agents/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def _set_input_data(span, get_response_kwargs):
133133
request_messages.append(
134134
{
135135
"role": normalized_role,
136-
"content": [{"type": "text", "text": message.get("content")}],
136+
"content": message.get("content"),
137137
}
138138
)
139139
else:

0 commit comments

Comments
 (0)