singularity-forge/src/tests
TÂCHES c344b0af54 fix: use provider field instead of model name prefix for Anthropic detection (#142) (#196)
The before_provider_request hook used model.startsWith("claude") to gate
native web search injection. This matched claude-* models served by any
provider (GitHub Copilot, AWS Bedrock, etc.), incorrectly injecting
Anthropic-only web_search_20250305 tool definitions into non-Anthropic
API requests.

The fix checks the isAnthropicProvider flag (set by model_select via the
provider field) instead of sniffing the model name.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 10:22:52 -06:00
..
app-smoke.test.ts Merge pull request #151 from dbachelder/fix/pi-provider-reuse-and-extension-loading 2026-03-12 22:25:15 -06:00
artifact-manager.test.ts feat: TTSR + blob/artifact storage (ported from oh-my-pi) 2026-03-13 08:43:56 -06:00
blob-store.test.ts feat: TTSR + blob/artifact storage (ported from oh-my-pi) 2026-03-13 08:43:56 -06:00
llm-context-tavily.test.ts feat: add Tavily as alternative search provider (#102) 2026-03-12 07:12:19 -06:00
native-search.test.ts fix: use provider field instead of model name prefix for Anthropic detection (#142) (#196) 2026-03-13 10:22:52 -06:00
provider.test.ts feat: add Tavily as alternative search provider (#102) 2026-03-12 07:12:19 -06:00
search-provider-command.test.ts feat: add Tavily as alternative search provider (#102) 2026-03-12 07:12:19 -06:00
search-tavily.test.ts feat: add Tavily as alternative search provider (#102) 2026-03-12 07:12:19 -06:00
tavily-helpers.test.ts feat: add Tavily as alternative search provider (#102) 2026-03-12 07:12:19 -06:00
tool-bootstrap.test.ts fix: bootstrap managed tools and gh auth 2026-03-11 10:52:45 -06:00
ttsr-manager.test.ts feat: TTSR + blob/artifact storage (ported from oh-my-pi) 2026-03-13 08:43:56 -06:00
ttsr-rule-loader.test.ts feat: TTSR + blob/artifact storage (ported from oh-my-pi) 2026-03-13 08:43:56 -06:00