test ollama options

This commit is contained in:
2026-01-16 21:34:42 +03:00
parent ad8e3115db
commit 5c7bf8cdaa
2 changed files with 85 additions and 25 deletions
+6 -1
View File
@@ -94,7 +94,12 @@ export class OllamaChat extends ChatCommand {
stream: true,
think: false,
keep_alive: 300,
messages: chatMessages
messages: chatMessages,
options: {
temperature: 0.1,
top_p: 0.8,
repeat_penalty: 1.15
}
});
ollamaRequests.push({uuid: uuid, stream: stream, done: false, fromId: msg.from.id, chatId: msg.chat.id});