File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 77 Message ,
88 SystemContentBlock ,
99} from "@aws-sdk/client-bedrock-runtime"
10- import { NodeHttpHandler } from "@aws-sdk /node-http-handler"
10+ import { NodeHttpHandler } from "@smithy /node-http-handler"
1111import { fromIni } from "@aws-sdk/credential-providers"
1212import { Anthropic } from "@anthropic-ai/sdk"
1313import * as vscode from "vscode"
@@ -306,8 +306,6 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
306306 return new NodeHttpHandler ( {
307307 httpAgent,
308308 httpsAgent,
309- // 0 = no timeout (let Bedrock stream indefinitely until our own AbortController cancels)
310- requestTimeout : 0 ,
311309 } )
312310 } catch ( err ) {
313311 logger . warn ( "Failed to initialize custom NodeHttpHandler; falling back to default" , {
Original file line number Diff line number Diff line change 422422 "@anthropic-ai/vertex-sdk" : " ^0.7.0" ,
423423 "@aws-sdk/client-bedrock-runtime" : " ^3.848.0" ,
424424 "@aws-sdk/credential-providers" : " ^3.848.0" ,
425- "@aws-sdk /node-http-handler" : " ^3.848 .0" ,
425+ "@smithy /node-http-handler" : " ^3.0 .0" ,
426426 "@google/genai" : " ^1.0.0" ,
427427 "@lmstudio/sdk" : " ^1.1.1" ,
428428 "@mistralai/mistralai" : " ^1.3.6" ,
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3+ "types" : [" vitest/globals" ],
34 "esModuleInterop" : true ,
45 "experimentalDecorators" : true ,
56 "forceConsistentCasingInFileNames" : true ,
You can’t perform that action at this time.
0 commit comments