fix(app): Error occurred while processing the experience sharing and loading the historical messages.

This commit is contained in:
Timebomb2018
2026-03-23 18:52:23 +08:00
parent 2f78b7cf5e
commit 6348304b7d

View File

@@ -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,
max_history=10,
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,
max_history=10,
current_provider=api_key_obj.provider,