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

@@ -150,6 +150,7 @@ export namespace SessionCompaction {
maxRetries: 0,
model: model.language,
providerOptions: ProviderTransform.providerOptions(model.npm, model.providerID, model.info.options),
headers: model.info.headers,
abortSignal: signal,
onError(error) {
log.error("stream error", {