mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Remove magic numbers
This commit is contained in:
parent
adedc1c2c6
commit
88fb6ec15a
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ export class OllamaHandler implements ApiHandler, SingleCompletionHandler {
|
|||
const stream = await this.client.chat.completions.create({
|
||||
model: this.getModel().id,
|
||||
messages: openAiMessages,
|
||||
temperature: this.options.modelTemperature ?? DEFAULT_TEMPERATURE,
|
||||
temperature: this.options.modelTemperature ?? OLLAMA_DEFAULT_TEMPERATURE,
|
||||
stream: true,
|
||||
})
|
||||
for await (const chunk of stream) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue