Skip to content

Add native Ollama provider#1

Merged
1ay1 merged 1 commit into
masterfrom
ollama-provider
Jun 23, 2026
Merged

Add native Ollama provider#1
1ay1 merged 1 commit into
masterfrom
ollama-provider

Conversation

@1ay1

@1ay1 1ay1 commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a native Ollama provider alongside the existing OpenAI-compatible and Anthropic backends.

  • New provider/ollama/{provider,transport} — native /api/chat NDJSON streaming path
  • Per-provider system-prompt selection in launch_stream: Ollama gets its own local-tuned prompt, other OpenAI-compatible backends get the openai local-model prompt, Anthropic keeps the full Claude prompt
  • OpenAI transport changes, ACP server + main.cpp wiring, catalog updates

Tests

  • New ollama_transport_test (288 lines) + openai_transport_test additions
  • Full suite: 21/21 passing, clean build with cmake --build build -j10

🤖 Generated with agentty

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@1ay1 1ay1 merged commit 74e62c1 into master Jun 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant