File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,6 @@ local: build
11
11
12
12
lint :
13
13
moonc -l openai
14
+
15
+ tags ::
16
+ moon-tags $$(git ls-files openai/ | grep -i '\.moon$$' ) > $@
Original file line number Diff line number Diff line change 1
- local VERSION = " 1.4.0 "
1
+ local VERSION = " 1.4.1 "
2
2
local ltn12 = require (" ltn12" )
3
3
local cjson = require (" cjson" )
4
4
local unpack = table.unpack or unpack
142
142
functions = self .functions ,
143
143
model = self .opts .model ,
144
144
temperature = self .opts .temperature ,
145
- stream = stream_callback and true or nil
145
+ stream = stream_callback and true or nil ,
146
+ response_format = self .opts .response_format
146
147
}, stream_callback )
147
148
if status ~= 200 then
148
149
local err_msg = " Bad status: " .. tostring (status )
Original file line number Diff line number Diff line change 1
- VERSION = " 1.4.0 "
1
+ VERSION = " 1.4.1 "
2
2
3
3
ltn12 = require " ltn12"
4
4
cjson = require " cjson"
@@ -171,6 +171,7 @@ class ChatSession
171
171
model : @opts . model
172
172
temperature : @opts . temperature
173
173
stream : stream_callback and true or nil
174
+ response_format : @opts . response_format
174
175
} , stream_callback
175
176
176
177
if status != 200
You can’t perform that action at this time.
0 commit comments