mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-21 20:06:06 +00:00
feat:add dingtalk stream
fix:adapter is_stream_output_supported bug fix:stream message reply chunk in message_id
This commit is contained in:
@@ -127,6 +127,8 @@ class Message(pydantic.BaseModel):
|
||||
|
||||
class MessageChunk(pydantic.BaseModel):
|
||||
"""消息"""
|
||||
resp_message_id: typing.Optional[str] = None
|
||||
"""消息id"""
|
||||
|
||||
role: str # user, system, assistant, tool, command, plugin
|
||||
"""消息的角色"""
|
||||
|
||||
Reference in New Issue
Block a user