diff --git a/backend/internal/pkg/apicompat/anthropic_to_responses.go b/backend/internal/pkg/apicompat/anthropic_to_responses.go index a8106da4..fca3cf1f 100644 --- a/backend/internal/pkg/apicompat/anthropic_to_responses.go +++ b/backend/internal/pkg/apicompat/anthropic_to_responses.go @@ -431,7 +431,7 @@ func normalizeToolParameters(schema json.RawMessage) json.RawMessage { return schema } - typ, _ := m["type"] + typ := m["type"] if string(typ) != `"object"` { return schema }