Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64b64a5

Browse files
[openai] Remove incorrect tool call id from tool call delta (#2210)
Co-authored-by: Douwe Maan <me@douwe.me>
1 parent849aa4c commit64b64a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pydantic_ai_slim/pydantic_ai/models/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ async def _get_event_iterator(self) -> AsyncIterator[ModelResponseStreamEvent]:
10511051
vendor_part_id=chunk.item_id,
10521052
tool_name=None,
10531053
args=chunk.delta,
1054-
tool_call_id=chunk.item_id,
1054+
tool_call_id=None,
10551055
)
10561056
ifmaybe_eventisnotNone:# pragma: no branch
10571057
yieldmaybe_event

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp