We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adedc1c commit 88fb6ecCopy full SHA for 88fb6ec
src/api/providers/ollama.ts
@@ -32,7 +32,7 @@ export class OllamaHandler implements ApiHandler, SingleCompletionHandler {
32
const stream = await this.client.chat.completions.create({
33
model: this.getModel().id,
34
messages: openAiMessages,
35
- temperature: this.options.modelTemperature ?? DEFAULT_TEMPERATURE,
+ temperature: this.options.modelTemperature ?? OLLAMA_DEFAULT_TEMPERATURE,
36
stream: true,
37
})
38
for await (const chunk of stream) {
0 commit comments