We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b927d08 commit 3a4ec8dCopy full SHA for 3a4ec8d
pkg/model/provider/bedrock/client.go
@@ -194,10 +194,10 @@ func (c *Client) CreateChatCompletionStream(
194
if c.ModelConfig.MaxTokens > 0 {
195
inferenceConfig.MaxTokens = aws.Int32(int32(c.ModelConfig.MaxTokens))
196
}
197
- if c.ModelConfig.Temperature != nil && *c.ModelConfig.Temperature > 0 {
+ if c.ModelConfig.Temperature != nil {
198
inferenceConfig.Temperature = aws.Float32(float32(*c.ModelConfig.Temperature))
199
200
- if c.ModelConfig.TopP != nil && *c.ModelConfig.TopP > 0 {
+ if c.ModelConfig.TopP != nil {
201
inferenceConfig.TopP = aws.Float32(float32(*c.ModelConfig.TopP))
202
203
input.InferenceConfig = inferenceConfig
0 commit comments