add optional headers field to model config (#3546)

This commit is contained in:
Filip
2025-10-31 05:35:26 +01:00
committed by GitHub
parent 43e272e6c4
commit 51e4c9fc4c
5 changed files with 11 additions and 3 deletions

View File

@@ -306,6 +306,7 @@ export namespace Provider {
input: ["text"],
output: ["text"],
},
headers: model.headers,
provider: model.provider ?? existing?.provider,
}
if (model.id && model.id !== modelID) {