• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

christophevg / yoker / 28321496220
85%

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2026 11:59AM UTC
Jobs 1
Files 79
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jun 2026 11:59AM UTC coverage: 87.464% (+0.5%) from 86.921%
28321496220

push

github

christophevg
fix(agent): populate Agent._tool_backends for Ollama web tools (M.5)

Agent._tool_backends was initialised to {} and never populated, so the
websearch/webfetch built-in tools failed with 'No backend configured'
even when the configured provider was Ollama.

Add create_web_backends() helper in agent/_setup.py that populates
OllamaWebSearchBackend / OllamaWebFetchBackend instances when:
- provider == 'ollama'
- an Ollama API key is configured (the tools are only registered when
  an API key is present, and the Ollama SDK web_search/web_fetch calls
  require an authenticated client)
- the corresponding tool is enabled in config

Wire the helper into Agent.__init__ so _tool_backends is populated
during agent setup using the agent's AsyncClient.

Scope is intentionally minimal: this only fixes the pre-existing Ollama
path. Extending web tools to non-Ollama providers remains out of scope
(see analysis/multi-provider-backend-design.md §7.4 and §9.17 Q17) and
will be handled by the multi-provider backend effort.

Adds 8 tests covering backend population (ollama with/without api key,
disabled tool, client reuse) and end-to-end tool execution via the
agent's ToolContext.

Mark M.5 complete in TODO.md.

🤖 Implemented together with a coding agent.

763 of 831 branches covered (91.82%)

Branch coverage included in aggregate %.

4358 of 5024 relevant lines covered (86.74%)

0.87 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
89.62
0.0% yoker/agent/__init__.py
2
97.1
-2.9% yoker/agent/_setup.py
Jobs
ID Job ID Ran Files Coverage
1 28321496220.1 28 Jun 2026 11:59AM UTC 79
87.46
GitHub Action Run
Source Files on build 28321496220
  • Tree
  • List 79
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28321496220
  • 12734157 on github
  • Prev Build on master (#28321208129)
  • Next Build on master (#28368319664)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc