feat: add native SAP AI Core support #50
+1
-1
@@ -207,7 +207,7 @@ func (c *Client) completeOpenAI(ctx context.Context, messages []Message) (string
|
|||||||
|
|
||||||
type anthropicRequest struct {
|
type anthropicRequest struct {
|
||||||
AnthropicVersion string `json:"anthropic_version,omitempty"`
|
AnthropicVersion string `json:"anthropic_version,omitempty"`
|
||||||
Model string `json:"model"`
|
Model string `json:"model,omitempty"`
|
||||||
MaxTokens int `json:"max_tokens"`
|
MaxTokens int `json:"max_tokens"`
|
||||||
System string `json:"system,omitempty"`
|
System string `json:"system,omitempty"`
|
||||||
Messages []anthropicMsg `json:"messages"`
|
Messages []anthropicMsg `json:"messages"`
|
||||||
|
|||||||
Reference in New Issue
Block a user