File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { Anthropic } from "@anthropic-ai/sdk"
2- import { Message , Ollama } from "ollama"
2+ import { Message , Ollama , type Config as OllamaOptions } from "ollama"
33import { ModelInfo , openAiModelInfoSaneDefaults , DEEP_SEEK_DEFAULT_TEMPERATURE } from "@roo-code/types"
44import { ApiStream } from "../transform/stream"
55import { BaseProvider } from "./base-provider"
@@ -140,7 +140,7 @@ export class NativeOllamaHandler extends BaseProvider implements SingleCompletio
140140 private ensureClient ( ) : Ollama {
141141 if ( ! this . client ) {
142142 try {
143- const clientOptions : any = {
143+ const clientOptions : OllamaOptions = {
144144 host : this . options . ollamaBaseUrl || "http://localhost:11434" ,
145145 // Note: The ollama npm package handles timeouts internally
146146 }
You can’t perform that action at this time.
0 commit comments