v0.2.6 — Universal Multi-Provider System
What's New
Universal Multi-Provider System
Connect any LLM provider — 35+ providers supported out of the box across 9 categories:
| Category | Providers |
|---|---|
| Major Paid | Anthropic, OpenAI, Google Gemini, xAI (Grok) |
| Aggregators | OpenRouter, Groq, Together AI, Fireworks AI, AIHubMix, 302.AI |
| Specialized | Mistral, DeepSeek, Cohere, Perplexity, Replicate |
| Chinese | Alibaba/Qwen, Moonshot, Xiaomi, Z.AI |
| Enterprise | AWS Bedrock, Azure OpenAI, GitHub Models |
| Free/Local | Ollama, LM Studio, Ollama Cloud |
| GPU Cloud | Nvidia, Vultr, Cerebras, DeepInfra |
| Coding Tools | OpenCode Zen, KiloCode, CodeBuff |
New Slash Commands
/provider:add— Interactive wizard to add any provider/provider:list— List configured providers with status/provider:remove <id>— Remove a provider/provider:test <id>— Test connection with latency/model:list— Searchable model picker with provider filtering/model:set <provider/model>— Set active model/model:info— Show current model details/settings— Open provider & model settings panel
Architecture
- Config:
~/.config/levelcode/providers.json— persistent provider configuration - Catalog: Fetches from
models.dev/api.jsonwith local caching - Auto-detect: Scans for Ollama and LM Studio on localhost
- Routing: Integrated into
getModelForRequest()— providers.json checked before legacy routing - TUI: Provider wizard, model picker, and settings panel components
Bug Fixes
- Fixed all pre-existing TypeScript type errors across the monorepo (0 errors)
- Fixed
TeamTaskpriority field missing from Zod schema - Fixed
JSONValuetype mismatches in agent-runtime tool handlers - Fixed
it.each()usage incompatible with Bun test runner - Fixed CLI minor type issues (border styles, module declarations)
- Fixed SDK test type mismatches
Full Changelog: v0.2.5...v0.2.6