Skip to content

feat: ollama integration#5

Open
GangGreenTemperTatum wants to merge 1 commit intomainfrom
ads/ollama-integration-v2
Open

feat: ollama integration#5
GangGreenTemperTatum wants to merge 1 commit intomainfrom
ads/ollama-integration-v2

Conversation

@GangGreenTemperTatum
Copy link

superseeds #3 i think i had a stale .git/

TL;DR
Add first-class Claude CLI override support and include an Ollama Claude bridge so AgentLens works end-to-end with both Anthropic and Ollama-backed Claude sessions.

What

  • add cli_path to AgentLens config and pass it through to the Claude Agent SDK
  • add scripts/ollama_claude_bridge.sh for ollama launch claude
  • document the Ollama config needed for full capture/resample parity
  • add config coverage for the new field

How
AgentLens already runs through the Claude CLI via the SDK. The new cli_path hook lets us swap the CLI binary for a wrapper. The included bridge rewrites the model flag for ollama launch claude and preserves AgentLens' capture proxy by restoring ANTHROPIC_BASE_URL inside the real Claude process, while still letting Ollama inject its local backend/auth env.

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