fix(isolation): 驾驶舱chat声明pipeline_id激活会话跨产线隔离
This commit is contained in:
parent
e1dbc51792
commit
3d59849d3e
@ -122,8 +122,10 @@ if action == 'send_message':
|
||||
if ctx['name']:
|
||||
yield json.dumps({"reasoning_content": "项目: " + ctx['name'] + "\n"}, ensure_ascii=False) + '\n'
|
||||
|
||||
# 运行 gateway(输出 content 流式格式,供前端 AgentIO→AgentOut 渲染)
|
||||
async for chunk in gateway.run_message("web", uid, prompt, model_id=model_id, session_id=session_id):
|
||||
# 运行 gateway(输出 content 流式格式,供前端 AgentIO→AgentOut 渲染)。
|
||||
# pipeline_id 声明本产线:激活会话项目跨产线隔离——残留的投标/商机项目
|
||||
# 不会劫持开发产线驾驶舱(否则全局兜底指向跨产线项目时整会话变投标大脑)。
|
||||
async for chunk in gateway.run_message("web", uid, prompt, model_id=model_id, session_id=session_id, pipeline_id='sdlc_general'):
|
||||
data = json.loads(chunk)
|
||||
t = data.get('type', '')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user