Alexander Whitestone
|
498d3d7061
|
feat: add MCP bridge for Qwen3 via Ollama (#1067)
Tests / lint (pull_request) Failing after 59s
Tests / test (pull_request) Has been skipped
Implements a lightweight MCP bridge that connects Qwen3 models in Ollama
directly to Timmy's tool ecosystem (Gitea, shell) via Ollama's native
/api/chat tool-calling API. This complements the existing Agno-based
MCP integration with a simpler, standalone path for direct tool calling.
- src/timmy/mcp_bridge.py: MCPBridge class with tool-call loop, Gitea
tools (list/create/read issues), and shell execution via ShellHand
- tests/timmy/test_mcp_bridge.py: 24 unit tests covering tool schema
conversion, bridge lifecycle, tool-call loop, error handling
- docs/mcp-setup.md: architecture, bridge option evaluation, setup guide
- config.py: mcp_bridge_timeout setting (60s default)
Fixes #1067
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-23 09:59:25 -04:00 |
|