Commit Graph

17 Commits

Author SHA1 Message Date
Charles-Henri ROBICHE
0ebe2b6724
Merge branch 'main' into feat/litellm-provider
Resolved conflicts in src/cli/program/register.onboard.ts by including
both litellm-api-key and xiaomi-api-key in the auth choice list.
2026-01-29 23:47:57 +01:00
Vibe Kanban
50d44d0bd9 feat: support xiaomi/mimo-v2-flash 2026-01-29 17:15:51 +00:00
Charles-Henri ROBICHE
d531f7d9a4
fix(litellm): update cancel option label and behavior
- Change label from 'Go back to provider selection' to 'Go back to auth method selection'
- Throw AUTH_CHOICE_CANCELLED error to signal proper navigation level
- More accurate description of where user will be taken

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 10:48:16 +01:00
Charles-Henri ROBICHE
9b8625b9d6
fix(litellm): remove manual model entry fallback option
- Remove 'Enter model name manually' from error recovery menu
- Only allow retry with different credentials or cancel
- Ensures users fix the actual connection issue rather than bypass it

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 10:33:19 +01:00
Charles-Henri ROBICHE
aa0d7563ff
fix(litellm): ensure API key retry prompts for new key
- Clear CLI-provided API key and token options when retrying
- Forces fresh prompt instead of reusing old credentials
- Consistent behavior with base URL retry

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 10:32:10 +01:00
Charles-Henri ROBICHE
f901884913
fix(litellm): improve retry flow for API key and base URL
- Extract promptForApiKey and promptForBaseUrl as helper functions
- Use recursive retry instead of throwing errors
- Re-enter API key now retries the entire flow with new key
- Re-enter base URL now properly prompts for new URL and retries
- Both options maintain full onboarding flow instead of crashing

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 10:31:11 +01:00
Charles-Henri ROBICHE
6faae80ad4
fix(litellm): add graceful fallback when model fetch fails
- Add options to retry with different API key or base URL
- Allow manual model entry as fallback
- Option to return to provider selection instead of crashing
- Show helpful error context about why fetch might have failed

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 10:14:07 +01:00
Claude
629c25c0e4
fix(litellm): simplify onboarding by removing manual prompts
- Remove manual context window prompt when not auto-detected
- Remove 'Enter custom model name' option from model selection
- Throw error if model fetch fails instead of prompting for manual entry
- Strip litellm/ prefix from API-returned model IDs to fix double prefix
2026-01-29 07:58:12 +00:00
Charles-Henri ROBICHE
f30e9c466f
fix(litellm): honor CLI flags during onboarding
Add support for --litellm-api-key, --litellm-base-url, and
--litellm-model CLI flags to enable non-interactive/automation
use cases for LiteLLM provider onboarding.

Co-Authored-By: Claude (claude-opus-4-5) <noreply@anthropic.com>
2026-01-28 08:56:48 +01:00
Charles-Henri ROBICHE
efd827b526
feat(providers): add LiteLLM provider support
Add LiteLLM as a new OpenAI-compatible proxy provider:

- Add onboarding flow with API key, base URL, and model selection
- Fetch available models from LiteLLM /v1/models endpoint
- Auto-detect context window from /model/info endpoint
- Set supportsStore: false to avoid "Extra inputs are not permitted" errors
  with providers that don't support the OpenAI Responses API store parameter
- Preserve compat settings through model resolution pipeline
- Add provider documentation

Closes #2639
Closes #2305

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-28 08:55:48 +01:00
jonisjongithub
7540d1e8c1 feat: add Venice AI provider integration
Venice AI is a privacy-focused AI inference provider with support for
uncensored models and access to major proprietary models via their
anonymized proxy.

This integration adds:

- Complete model catalog with 25 models:
  - 15 private models (Llama, Qwen, DeepSeek, Venice Uncensored, etc.)
  - 10 anonymized models (Claude, GPT-5.2, Gemini, Grok, Kimi, MiniMax)
- Auto-discovery from Venice API with fallback to static catalog
- VENICE_API_KEY environment variable support
- Interactive onboarding via 'venice-api-key' auth choice
- Model selection prompt showing all available Venice models
- Provider auto-registration when API key is detected
- Comprehensive documentation covering:
  - Privacy modes (private vs anonymized)
  - All 25 models with context windows and features
  - Streaming, function calling, and vision support
  - Model selection recommendations

Privacy modes:
- Private: Fully private, no logging (open-source models)
- Anonymized: Proxied through Venice (proprietary models)

Default model: venice/llama-3.3-70b (good balance of capability + privacy)
Venice API: https://api.venice.ai/api/v1 (OpenAI-compatible)
2026-01-25 01:11:57 +00:00
Ian Hildebrand
ff78e9a564
fix: support direct token and provider in auth apply commands (#1485) 2026-01-23 07:27:52 +00:00
Peter Steinberger
7876679c5d style: apply oxfmt 2026-01-17 17:44:54 +00:00
ddyo
e93a1d8138 feat: add kimi code provider onboarding 2026-01-17 17:25:07 +00:00
Timo Lins
beb9eac5f7 Models: add Vercel AI Gateway auth 2026-01-16 21:00:15 +00:00
Peter Steinberger
c379191f80 chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
2026-01-14 15:02:19 +00:00
Peter Steinberger
a58ff1ac63 refactor(commands): split CLI commands 2026-01-14 05:39:47 +00:00