fix: aws claude system

This commit is contained in:
1808837298@qq.com committed 2024-04-29 00:06:25 +08:00
1 parent c5a9fa97ef
commit e1b80d60d8
1 file changed
+1
+1
View File
@@ -5,6 +5,7 @@ import "one-api/relay/channel/claude"
type AwsClaudeRequest struct {
// AnthropicVersion should be "bedrock-2023-05-31"
AnthropicVersion string `json:"anthropic_version"`
System string `json:"system"`
Messages []claude.ClaudeMessage `json:"messages"`
MaxTokens int `json:"max_tokens,omitempty"`
Temperature float64 `json:"temperature,omitempty"`