fix: generic模式传generic给load_agent_config(真不装产线能力)
This commit is contained in:
parent
6e61dbbbb9
commit
0bc3587a75
@ -135,9 +135,9 @@ class Gateway:
|
||||
sess.project_name = ctx["name"]
|
||||
sess.updated_at = now
|
||||
|
||||
# 3. 加载产线能力 + 创建 executor
|
||||
# 3. 加载产线能力 + 创建 executor(generic 时不装产线能力)
|
||||
config = await load_agent_config(
|
||||
pipeline_id=ctx["pipeline_id"], project_id=ctx["pid"])
|
||||
pipeline_id=ctx["pipeline_id"], project_id=ctx["pid"], generic=generic)
|
||||
executor = AgentExecutor(
|
||||
config=config, project_id=ctx["pid"], user_id=user_id, role=role)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user