fix(core): clarify Code Mode tool boundary
This commit is contained in:
parent
adcf010368
commit
6f3ec85d1e
4 changed files with 8 additions and 3 deletions
|
|
@ -44,6 +44,9 @@ describe("CodeModeInstructions", () => {
|
|||
it.effect("renders the initial catalog, semantic deltas, and removal", () =>
|
||||
Effect.gen(function* () {
|
||||
const initialized = yield* readInitial(CodeModeInstructions.make([echo]))
|
||||
expect(initialized.text).toContain(
|
||||
"The Code Mode catalog and `search` results are the complete set of tools available within Code Mode. Tools presented elsewhere are not available in this runtime.",
|
||||
)
|
||||
expect(initialized.text).toContain("## Available tools")
|
||||
expect(initialized.text).not.toContain("## Search")
|
||||
expect(initialized.text).toContain(` - ${echo.signature} // Echo text`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue