mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 16:56:02 +00:00
refactor: move prompt mgm to pipeline
This commit is contained in:
@@ -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)
|
||||
conversation = await self.ap.sess_mgr.get_conversation(query, session, query.pipeline_config)
|
||||
|
||||
# 设置query
|
||||
query.session = session
|
||||
|
||||
Reference in New Issue
Block a user