跳到正文
DEV Community · AI· Pierre-Laurent Medori·· 7 天前AI 评分63

Anthropic Python SDK 的流式解析可能让截断的工具调用丢失 append 参数

A tool call cut at "append":tru came back as valid JSON, without append

AI 导读

Anthropic Python SDK 1.14.0 使用 jiter 0.18.0 解析流式工具参数,可能丢弃截断的 append 值,却仍返回可执行的 write_file 调用。

来源:DEV Community · AI · dev.to