mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Fix Bedrock user agent to report full SDK details (#9043)
This commit is contained in:
parent
d4aeca4205
commit
c6a02bb8da
3 changed files with 661 additions and 635 deletions
1290
pnpm-lock.yaml
generated
1290
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -219,7 +219,7 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
|
|||
this.costModelConfig = this.getModel()
|
||||
|
||||
const clientConfig: BedrockRuntimeClientConfig = {
|
||||
defaultUserAgentProvider: () => Promise.resolve([["RooCode", Package.version]]),
|
||||
userAgentAppId: `RooCode#${Package.version}`,
|
||||
region: this.options.awsRegion,
|
||||
// Add the endpoint configuration when specified and enabled
|
||||
...(this.options.awsBedrockEndpoint &&
|
||||
|
|
|
|||
|
|
@ -458,8 +458,8 @@
|
|||
"@anthropic-ai/bedrock-sdk": "^0.10.2",
|
||||
"@anthropic-ai/sdk": "^0.37.0",
|
||||
"@anthropic-ai/vertex-sdk": "^0.7.0",
|
||||
"@aws-sdk/client-bedrock-runtime": "^3.848.0",
|
||||
"@aws-sdk/credential-providers": "^3.848.0",
|
||||
"@aws-sdk/client-bedrock-runtime": "^3.922.0",
|
||||
"@aws-sdk/credential-providers": "^3.922.0",
|
||||
"@google/genai": "^1.0.0",
|
||||
"@lmstudio/sdk": "^1.1.1",
|
||||
"@mistralai/mistralai": "^1.9.18",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue