fix(core): clarify code mode tool boundary (#38785)
This commit is contained in:
parent
c7d7f61146
commit
1291dc1f11
4 changed files with 9 additions and 12 deletions
|
|
@ -6,9 +6,7 @@ import { Instructions } from "../instructions/index"
|
|||
import { CodeModeCatalog } from "./catalog"
|
||||
|
||||
// prettier-ignore
|
||||
const prompt = (hasMoreTools: boolean) => `The Code Mode tool catalog below is ${hasMoreTools ? "partial" : "complete"}.
|
||||
|
||||
Inside Code Mode, \`tools\` contains only the tools shown below${hasMoreTools ? " or returned by `search`" : ""}; surrounding top-level agent tools are not available and must not be called from the code.${hasMoreTools ? `
|
||||
const prompt = (hasMoreTools: boolean) => `The Code Mode tool catalog below is ${hasMoreTools ? "partial" : "complete"}.${hasMoreTools ? `
|
||||
|
||||
## Search
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue