Skip to content

Commit 88fb6ec

Browse files
committed
Remove magic numbers
1 parent adedc1c commit 88fb6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/ollama.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class OllamaHandler implements ApiHandler, SingleCompletionHandler {
3232
const stream = await this.client.chat.completions.create({
3333
model: this.getModel().id,
3434
messages: openAiMessages,
35-
temperature: this.options.modelTemperature ?? DEFAULT_TEMPERATURE,
35+
temperature: this.options.modelTemperature ?? OLLAMA_DEFAULT_TEMPERATURE,
3636
stream: true,
3737
})
3838
for await (const chunk of stream) {

0 commit comments

Comments
 (0)