| 1357 | 'json_schema': [TABBY, LLAMACPP].includes(settings.type) ? settings.json_schema : undefined, | 1357 | 'json_schema': [TABBY, LLAMACPP].includes(settings.type) ? settings.json_schema : undefined, |
| 1358 | // llama.cpp aliases. In case someone wants to use LM Studio as Text Completion API | 1358 | // llama.cpp aliases. In case someone wants to use LM Studio as Text Completion API |
| 1359 | 'repeat_penalty': settings.rep_pen, | 1359 | 'repeat_penalty': settings.rep_pen, |
| 1360 | 'tfs_z': settings.tfs, | | |
| 1361 | 'repeat_last_n': settings.rep_pen_range, | 1360 | 'repeat_last_n': settings.rep_pen_range, |
| 1362 | 'n_predict': maxTokens, | 1361 | 'n_predict': maxTokens, |
| 1363 | 'num_predict': maxTokens, | 1362 | 'num_predict': maxTokens, |