fix(core): explicitly map execution context in LocalAgentExecutor (#22949)

Co-authored-by: cynthialong0-0 <82900738+cynthialong0-0@users.noreply.github.com>
This commit is contained in:
AK
2026-03-18 12:54:48 -07:00
committed by GitHub
parent b6d5374fb7
commit c12fc340c1
2 changed files with 74 additions and 1 deletions
+4 -1
View File
@@ -113,7 +113,10 @@ export class LocalAgentExecutor<TOutput extends z.ZodTypeAny> {
private get executionContext(): AgentLoopContext {
return {
...this.context,
config: this.context.config,
promptId: this.context.promptId,
geminiClient: this.context.geminiClient,
sandboxManager: this.context.sandboxManager,
toolRegistry: this.toolRegistry,
promptRegistry: this.promptRegistry,
resourceRegistry: this.resourceRegistry,