Skip to content

Commit 7450535

Browse files
fix(openai): revert incidental formatting-only change
Restores the original multi-line form around output_message.dict(); no behavioral change. The model_dump() migration now applies only to the openai-agents integration, per review.
1 parent 4496cf4 commit 7450535

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎sentry_sdk/integrations/openai.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,9 @@ def _set_common_output_data(
737737
output_messages["response"].append(output_message.text) # type: ignore[union-attr]
738738
except AttributeError:
739739
# Unknown output message type, just return the json
740-
output_messages["response"].append(output_message.dict())
740+
output_messages["response"].append(
741+
output_message.dict()
742+
)
741743

742744
if len(output_messages["tool"]) > 0:
743745
set_data_normalized(

0 commit comments

Comments
 (0)