mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-26 20:06:37 +08:00
13 lines
452 B
Go
13 lines
452 B
Go
package vertex_claude
|
|
|
|
import "one-api/relay/channel/claude"
|
|
|
|
type VertexClaudeRequest struct {
|
|
// vertex-2023-10-16
|
|
AnthropicVersion string `json:"anthropic_version"`
|
|
System string `json:"system,omitempty"`
|
|
Messages []claude.ClaudeMessage `json:"messages"`
|
|
MaxTokens int `json:"max_tokens,omitempty"`
|
|
Stream bool `json:"stream,omitempty"`
|
|
}
|