perf: param for get_conversation

This commit is contained in:
Junyan Qin
2025-04-03 17:19:27 +08:00
parent fb18278bdc
commit 472d472bc1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class PreProcessor(stage.PipelineStage):
"""
session = await self.ap.sess_mgr.get_session(query)
conversation = await self.ap.sess_mgr.get_conversation(query, session, query.pipeline_config)
conversation = await self.ap.sess_mgr.get_conversation(query, session, query.pipeline_config['ai']['local-agent']['prompt'])
# 设置query
query.session = session