add optional headers field to model config (#3546)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user