simpleOllamaAIExecutor

fun simpleOllamaAIExecutor(baseUrl: String = "http://localhost:11434", httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor(source)

Creates an instance of MultiLLMPromptExecutor with an OllamaClient.

Parameters

baseUrl

url used to access Ollama server.

httpClientFactory

Factory used to create the underlying HTTP client.

fun simpleOllamaAIExecutor(baseUrl: String = "http://localhost:11434"): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor(source)

Convenience overload that constructs the underlying client via its JVM no-factory entry point (resolves the default ai.koog.http.client.KoogHttpClient.Factory at call time). JVM and Android only.

See also