Merge pull request #675 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
fix(app)
This commit is contained in:
@@ -129,7 +129,7 @@ class AppChatService:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# 加载历史消息
|
# 加载历史消息
|
||||||
history = self.conversation_service.get_conversation_history(
|
history = await self.conversation_service.get_conversation_history(
|
||||||
conversation_id=conversation_id,
|
conversation_id=conversation_id,
|
||||||
max_history=10,
|
max_history=10,
|
||||||
current_provider=api_key_obj.provider,
|
current_provider=api_key_obj.provider,
|
||||||
@@ -332,7 +332,7 @@ class AppChatService:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# 加载历史消息
|
# 加载历史消息
|
||||||
history = self.conversation_service.get_conversation_history(
|
history = await self.conversation_service.get_conversation_history(
|
||||||
conversation_id=conversation_id,
|
conversation_id=conversation_id,
|
||||||
max_history=10,
|
max_history=10,
|
||||||
current_provider=api_key_obj.provider,
|
current_provider=api_key_obj.provider,
|
||||||
|
|||||||
Reference in New Issue
Block a user