feat: add native SAP AI Core support #50
+2
-2
@@ -206,8 +206,8 @@ func TestAICoreClient_CompleteAnthropic(t *testing.T) {
|
|||||||
if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
|
if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
|
||||||
t.Fatalf("decode request: %v", err)
|
t.Fatalf("decode request: %v", err)
|
||||||
}
|
}
|
||||||
if req.Model != "anthropic--claude-4.6-sonnet" {
|
if req.AnthropicVersion != "2023-06-01" {
|
||||||
t.Errorf("expected model name in request")
|
t.Errorf("expected anthropic_version in request")
|
||||||
}
|
}
|
||||||
if req.System != "You are helpful" {
|
if req.System != "You are helpful" {
|
||||||
t.Errorf("expected system prompt: %q", req.System)
|
t.Errorf("expected system prompt: %q", req.System)
|
||||||
|
|||||||
Reference in New Issue
Block a user