mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-22 10:16:36 +08:00
fix: aws claude system
This commit is contained in:
parent
5425b5bfc3
commit
7fb6420e66
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user