feat: add Claude + OpenAI-compatible providers, modernize models (v1.1.0)#2
Merged
Merged
Conversation
…1.0) Providers - Add native Anthropic Claude client (Messages API) — pkg/ai/claude.go - Add generic OpenAI-compatible provider via configurable base URL (xAI, DeepSeek, Mistral, Groq, OpenRouter), reusing OpenAI request/response - Wire both into the executor + config provider/key/model factories Models & validation - Permissive model validation: accept any model string with a not-in-list note; curated current suggestions per provider (config:model list) - Modernize defaults: OpenAI gpt-3.5-turbo -> gpt-4o-mini; Claude default claude-sonnet-4-6; refresh Gemini/OpenAI suggestion lists - New env vars: ANTHROPIC_API_KEY, OPENAI_COMPATIBLE_API_KEY/_BASE_URL - New command: config:compatible show|set-url Docs & release - Update README, docs/examples.md, docs/lumo.1 (incl. corrected env vars), and website provider/feature/installation copy - Bump version to 1.1.0; refresh README download URLs; add debian/changelog entry - Update config_test.go default assertions
|
Visit the preview URL for this PR (updated for commit 1daefb4): https://lumo-cli--pr2-feat-providers-claud-dkrydklg.web.app (expires Tue, 30 Jun 2026 15:35:25 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 8e7533337a0b494f1b714df9c48e60583f8891d4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two new AI providers and modernizes model handling for the v1.1.0 release.
New providers
pkg/ai/claude.go). Models: claude-opus-4-8, claude-sonnet-4-6 (default), claude-haiku-4-5, claude-fable-5./chat/completionsshape. Unlocks xAI Grok, DeepSeek, Mistral, Groq, OpenRouter.Model handling
config:model list.gpt-3.5-turbo→gpt-4o-mini; Claude defaultclaude-sonnet-4-6; refreshed suggestion lists.ANTHROPIC_API_KEY,OPENAI_COMPATIBLE_API_KEY/_BASE_URL. New command:config:compatible show|set-url.Docs & release
docs/examples.md,docs/lumo.1(also corrected the env-var section, which listed non-existentLUMO_*vars), and website provider/feature/installation copy.config_test.go.Validation
go build ./...✅,go test ./...✅,cd web && npm run build✅