fix(agent): 在passthrough模式下添加direct参数以绕过超时检查
当启用passthrough模式时,通过direct参数跳过60秒超时检查,确保消息直接发送而不受限制
This commit is contained in:
@@ -159,7 +159,7 @@ class OrchestrationAgent:
|
||||
# Passthrough mode: if enabled and active session, bypass LLM
|
||||
if self._passthrough[user_id] and active_conv:
|
||||
try:
|
||||
reply = await manager.send(active_conv, text, user_id=user_id)
|
||||
reply = await manager.send(active_conv, text, user_id=user_id, direct=True)
|
||||
logger.info("<<< [passthrough] reply: %r", reply[:120])
|
||||
return reply
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user