mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 07:54:19 +00:00
流式基本流程已通过修改了yield和return的冲突导致的问题
This commit is contained in:
@@ -140,12 +140,12 @@ class MessageChunk(pydantic.BaseModel):
|
||||
content: typing.Optional[list[ContentElement]] | typing.Optional[str] = None
|
||||
"""内容"""
|
||||
|
||||
# tool_calls: typing.Optional[list[ToolCall]] = None
|
||||
tool_calls: typing.Optional[list[ToolCall]] = None
|
||||
"""工具调用"""
|
||||
|
||||
tool_call_id: typing.Optional[str] = None
|
||||
|
||||
tool_calls: typing.Optional[list[ToolCallChunk]] = None
|
||||
# tool_calls: typing.Optional[list[ToolCallChunk]] = None
|
||||
|
||||
is_final: bool = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user