mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
The model providers whose API keys the VM's proxy puts in for opencode and pi are one table, agents.Providers (ID, name, hosts, header), from which the bindings, devvm agent login --provider and its help, and the docs' table derive (TestProvidersComplete). Google Gemini, Groq, Mistral, xAI and DeepSeek join Anthropic, OpenAI and OpenRouter: the VM gets a placeholder, and the proxy puts the key in, in the provider's header, for its hosts alone. Binding wins over [pass-keys], and each launch notes a bound API key that [pass-keys] still lists (login_pass_bound), never a bound OAuth login. The docs and the note say that a key a VM was given before stays usable wherever it was copied, that a bound key can mint credentials that work without the proxy (Gemini's Live API ephemeral tokens, xAI's and OpenAI's realtime client secrets), and that some providers' own tools fetch URLs the VM names. The network e2e checks pi's Gemini key in x-goog-api-key, never in the URL, and opencode's Groq key in its Authorization. Co-Authored-By: Claude Opus 5.5 <[email protected]>