Fix: small model dispatch fails for custom OpenAI-compatible providers (#2134) (#2135)

* fix: add support for custom provider base URLs from config

* feat: read custom provider apiKey from config and use it as primary credential when it exists

* doc: update small-model documentation
This commit is contained in:
Andrey Meshkov
2026-07-13 08:33:14 +03:00
committed by GitHub
parent 7888dd65b3
commit 7e248d4e9b
4 changed files with 387 additions and 9 deletions
@@ -111,6 +111,7 @@ export async function generateSmallModelText({ prompt, system, maxOutputTokens,
const text = await callSmallModel({
auth,
catalog,
workingDirectory: directory,
providerID: resolved.providerID,
modelID: resolved.modelID,
prompt: clamped.prompt,