Set temperature to 0.2

This commit is contained in:
Saoud Rizwan
2024-09-20 10:27:58 -04:00
parent f001aad306
commit 4d1db22fe3
8 changed files with 11 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ export class OllamaHandler implements ApiHandler {
const createParams: OpenAI.Chat.Completions.ChatCompletionCreateParamsNonStreaming = {
model: this.options.ollamaModelId ?? "",
messages: openAiMessages,
temperature: 0.2,
tools: openAiTools,
tool_choice: "auto",
}