refactor(llmclient): make JSONSchema.Schema raw json for pinned field order

This commit is contained in:
pj committed 2026-07-13 07:23:21 +05:30
1 parent 08e588a79f
commit 0ead53757c
2 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ func TestChatCompletionRequestShapeAndParse(t *testing.T) {
JSONSchema: JSONSchema{
Name: "ranked_actions",
Strict: true,
Schema: map[string]any{"type": "object"},
Schema: json.RawMessage(`{"type":"object"}`),
},
},
})