feat: add specific header for dashscope provider
This commit is contained in:
parent
6142fbf64a
commit
a6ce22773b
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ export class OpenAIContentGenerator implements ContentGenerator {
|
||||||
: isDashScopeProvider
|
: isDashScopeProvider
|
||||||
? {
|
? {
|
||||||
'X-DashScope-CacheControl': 'enable',
|
'X-DashScope-CacheControl': 'enable',
|
||||||
|
'X-DashScope-UserAgent': userAgent,
|
||||||
}
|
}
|
||||||
: {}),
|
: {}),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue