Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/LLM-API/LLMAPIChatObjectPayload.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ LLMAPIChatObjectPayload >> asJsonableObject [
self top_p ifNotNil: [ :v | dic at: #top_p put: v ].
self model ifNotNil: [ :v | dic at: #model put: v ].
self max_tokens ifNotNil: [ :v | dic at: #max_tokens put: v ].
self response_format ifNotNil: [ :v | dic at: #response_format put: v ].
self tools ifNotNil: [ :v | dic at: #tools put: (v collect: #asJsonableObject) ].
^ dic
]
Expand Down