feat: add native SAP AI Core support #50

Closed
rodin wants to merge 12 commits from feat/aicore-provider into main
Showing only changes of commit 8da8fca19d - Show all commits
+1 -1
View File
1
@@ -207,7 +207,7 @@ func (c *Client) completeOpenAI(ctx context.Context, messages []Message) (string
type anthropicRequest struct {
AnthropicVersion string `json:"anthropic_version,omitempty"`
Model string `json:"model"`
Model string `json:"model,omitempty"`
MaxTokens int `json:"max_tokens"`
System string `json:"system,omitempty"`
Messages []anthropicMsg `json:"messages"`