File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ namespace ollama
250
250
(*this )[" stream" ] = stream;
251
251
252
252
if (options!=nullptr ) (*this )[" options" ] = options[" options" ];
253
- (*this )[" format" ] = format;
253
+ // (*this)["format"] = format; // Commented out as providing the format causes issues with some models.
254
254
(*this )[" keep_alive" ] = keep_alive_duration;
255
255
type = message_type::chat;
256
256
Original file line number Diff line number Diff line change @@ -35040,7 +35040,7 @@ namespace ollama
35040
35040
(*this)["stream"] = stream;
35041
35041
35042
35042
if (options!=nullptr) (*this)["options"] = options["options"];
35043
- (*this)["format"] = format;
35043
+ // (*this)["format"] = format; // Commented out as providing the format causes issues with some models.
35044
35044
(*this)["keep_alive"] = keep_alive_duration;
35045
35045
type = message_type::chat;
35046
35046
You can’t perform that action at this time.
0 commit comments