Acceptance-Criteria:\n- spec-compliant names are shared via WEB_SEARCH_TOOL_NAME and ModeConfig checks canonical identifiers.\n- workspace depends on once_cell so regex helpers build without local target hacks. Test-Notes:\n- cargo test
Integration Fixtures
This directory holds canned Ollama responses used by the Wiremock-backed
integration tests in ollama_wiremock.rs. Each file mirrors the JSON payloads
served by the real Ollama HTTP API so the tests can stub
/api/tags, /api/chat, and /v1/web/search without contacting the network.
ollama_tags.json– minimal model listing shared by the local and cloud scenarios.ollama_local_completion.json– non-streaming completion for the local provider.ollama_cloud_tool_call.json– first chat turn that requests theweb_searchtool.ollama_cloud_final.json– follow-up completion after the tool result is injected.