mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-04-21 13:37:17 +00:00
Update packages/core/src/agents/agent-scheduler.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
155b071e27
commit
d8bb1f6326
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ export async function scheduleAgentTools(
|
|||
config,
|
||||
// Fork the promptId if this is a subagent or child call to isolate history
|
||||
promptId: parentCallId
|
||||
? `${config.promptId}-${parentCallId}`
|
||||
? config.promptId + '-' + parentCallId.replace(/[^a-zA-Z0-9-_]/g, '')
|
||||
: config.promptId,
|
||||
toolRegistry,
|
||||
promptRegistry: promptRegistry ?? config.getPromptRegistry(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue