fix(coding-agent): allow custom providers to use stored auth

closes #5953
This commit is contained in:
Armin Ronacher
2026-06-23 11:51:33 +02:00
parent 590482cf6d
commit ce6a67fc94
4 changed files with 9 additions and 7 deletions
@@ -246,9 +246,10 @@ describe("ModelRegistry", () => {
expect(model?.baseUrl).toBe("https://openrouter.ai/api/v1");
});
test("non-built-in provider custom models still require baseUrl and apiKey", () => {
test("non-built-in provider custom models still require baseUrl", () => {
writeRawModelsJson({
"my-custom-provider": {
apiKey: "test-key",
models: [
{
id: "my-model",