Repository navigation
fix(tools): allow WebFetch and WebSearch in plan mode - #1884
Conversation
Add plan to both web tools' manifest modes and save WebFetch downloads and binary responses into the plan-mode scratchpad instead of the session artifacts dir. Update the plan guidance and the mode-guard test, add a scratchpad-save regression test, regenerate the tool-definitions golden file, and update the plan-mode docs.
|
@infer can you check why tests are failing and fix this? use /go /go-concurrency |
|
Model: Todos
Pull Request✅ Infer Result: SuccessDone - tests are green again. Here's the full picture. Why the
|
|
🎉 This PR is included in version 0.263.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Resolves #1880
Summary
Plan mode now allows WebFetch and WebSearch so the agent can research online while it plans. Both web tools keep their usual domain allow-list and approval settings. WebFetch downloads (and binary responses) land in the plan-mode scratchpad instead of the session artifacts dir, so plan mode still writes nowhere outside it. The plan-mode guidance, mode-guard and approval-policy tests, golden file and docs were updated to match.
Changes
Downstream impact: none beyond docs - this is CLI-internal tool manifests, no schemas, env vars or release bumps affected. Docs follow-up: inference-gateway/docs#1247.