Skip to content

Commit 1ddfa78

Browse files
authored
rework streaming and add servicetier (#62)
1 parent 2823045 commit 1ddfa78

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed

Sources/BedrockService/BedrockRuntimeClient/Converse/ConverseRequestStreaming.swift renamed to Sources/BedrockService/BedrockRuntimeClient/Converse/Streaming/ConverseRequestStreaming.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ extension ConverseStreamingRequest {
2323
inferenceConfig: inferenceConfig?.getSDKInferenceConfig(),
2424
messages: try getSDKMessages(),
2525
modelId: model.getModelIdWithCrossRegionInferencePrefix(region: region),
26+
serviceTier: BedrockRuntimeClientTypes.ServiceTier(type: .init(rawValue: serviceTier.rawValue)),
2627
system: getSDKSystemPrompts(),
2728
toolConfig: try toolConfig?.getSDKToolConfig()
2829
)

0 commit comments

Comments
 (0)