fix: pass subagent_enabled in gateway-client.ts synchronous path
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
The connectZclawStream call in the synchronous code path (common case when agentId is already known) was missing the subagent_enabled field, causing Gateway-connected clients to never send the flag to the server.
This commit is contained in:
@@ -516,6 +516,7 @@ export class GatewayClient {
|
|||||||
thinking_enabled: opts?.thinking_enabled,
|
thinking_enabled: opts?.thinking_enabled,
|
||||||
reasoning_effort: opts?.reasoning_effort,
|
reasoning_effort: opts?.reasoning_effort,
|
||||||
plan_mode: opts?.plan_mode,
|
plan_mode: opts?.plan_mode,
|
||||||
|
subagent_enabled: opts?.subagent_enabled,
|
||||||
});
|
});
|
||||||
|
|
||||||
return { runId };
|
return { runId };
|
||||||
|
|||||||
Reference in New Issue
Block a user