mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 08:46:02 +00:00
fix: chat处理过程的插件返回值目标错误
This commit is contained in:
@@ -22,7 +22,7 @@ class ToolCall(pydantic.BaseModel):
|
||||
class Message(pydantic.BaseModel):
|
||||
"""消息"""
|
||||
|
||||
role: str # user, system, assistant, tool, command
|
||||
role: str # user, system, assistant, tool, command, plugin
|
||||
|
||||
name: typing.Optional[str] = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user