Skip to content

Add Anthropic and Ollama LLM provider support alongside OpenAI#147

Open
aunkidwai wants to merge 1 commit intoVectifyAI:mainfrom
aunkidwai:aunkidwai/OLLAMA+ANTHROPIC_track
Open

Add Anthropic and Ollama LLM provider support alongside OpenAI#147
aunkidwai wants to merge 1 commit intoVectifyAI:mainfrom
aunkidwai:aunkidwai/OLLAMA+ANTHROPIC_track

Conversation

@aunkidwai
Copy link

  • Add multi-provider architecture: OpenAI (default), Anthropic, and Ollama
  • Ollama uses OpenAI-compatible API, Anthropic uses native SDK
  • New CLI flags: --provider and --api-base-url
  • Config and env var support: LLM_PROVIDER, API_BASE_URL, ANTHROPIC_API_KEY
  • Tiktoken fallback to cl100k_base for non-OpenAI models
  • Add anthropic SDK to requirements.txt
  • Update README with provider docs, usage examples, and comparison table

- Add multi-provider architecture: OpenAI (default), Anthropic, and Ollama
- Ollama uses OpenAI-compatible API, Anthropic uses native SDK
- New CLI flags: --provider and --api-base-url
- Config and env var support: LLM_PROVIDER, API_BASE_URL, ANTHROPIC_API_KEY
- Tiktoken fallback to cl100k_base for non-OpenAI models
- Add anthropic SDK to requirements.txt
- Update README with provider docs, usage examples, and comparison table

https://claude.ai/code/session_01RdrWXrD9rABwBjv2NRYn6u
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.

2 participants