Skip to content

Commit cbda32b

Browse files
authored
fixing bug with json seralisation on function_call_output (#11)
1 parent 2e8a97e commit cbda32b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Models/Item.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public enum Item: Equatable, Hashable, Sendable {
4747
case functionCall(Item.FunctionCall)
4848

4949
/// The output of a function tool call.
50+
@CodedAs("function_call_output")
5051
case functionCallOutput(Item.FunctionCallOutput)
5152

5253
/// A description of the chain of thought used by a reasoning model while generating a response.

0 commit comments

Comments
 (0)