File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ namespace ollama
250250 (*this )[" stream" ] = stream;
251251
252252 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.
254254 (*this )[" keep_alive" ] = keep_alive_duration;
255255 type = message_type::chat;
256256
Original file line number Diff line number Diff line change @@ -35040,7 +35040,7 @@ namespace ollama
3504035040 (*this)["stream"] = stream;
3504135041
3504235042 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.
3504435044 (*this)["keep_alive"] = keep_alive_duration;
3504535045 type = message_type::chat;
3504635046
You can’t perform that action at this time.
0 commit comments