We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a1a9e0 commit d09cd86Copy full SHA for d09cd86
backend/apps/chat/models/chat_model.py
@@ -197,7 +197,7 @@ class ChatLogHistoryItem(BaseModel):
197
total_tokens: Optional[int] = None # token总消耗
198
operate: Optional[str] = None
199
local_operation: Optional[bool] = False
200
- message: Optional[str | dict | list[dict]] = None
+ message: Optional[str | dict | list] = None
201
error: Optional[bool] = False
202
203
0 commit comments