Fix context and response size not being passed to Ollama

This commit is contained in:
Cohee
2024-06-24 03:48:34 +03:00
parent b89afe6d13
commit a3dbcf3c2a
2 changed files with 5 additions and 2 deletions

View File

@ -259,6 +259,7 @@ const TOGETHERAI_KEYS = [
// https://github.com/jmorganca/ollama/blob/main/docs/api.md#request-with-options
const OLLAMA_KEYS = [
'num_predict',
'num_ctx',
'stop',
'temperature',
'repeat_penalty',