-
Notifications
You must be signed in to change notification settings - Fork 310
Description
Hi,
I am using koog framework 0.6.0. I am facing issues java.lang.ClassNotFoundException: io.ktor.client.plugins.sse.SSEKt when using
following code in my custom object OpenRouterConfig
val openRouterExecutor = simpleOpenRouterExecutor(apiKey) it will call
public fun simpleOpenRouterExecutor(
apiKey: String
): SingleLLMPromptExecutor = SingleLLMPromptExecutor(OpenRouterLLMClient(apiKey))
and OpenRouterLLMClient class will extend AbstractOpenAILLMClient abstract. in this abstract class,
and I notice there is install(SSE) in AbstractOpenAILLMClient.kt file when using httpClient.
Then, I try to include "implementation("io.ktor:ktor-client-sse:2.3.7")" in dependencies in my build.gradle.kts file, during sync gradle project it shows
Could not find io.ktor:ktor-client-sse:2.3.7.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/io/ktor/ktor-client-sse/2.3.7/ktor-client-sse-2.3.7.pom
- https://repo.maven.apache.org/maven2/io/ktor/ktor-client-sse/2.3.7/ktor-client-sse-2.3.7.pom
Is there anyone facing the same problem? and how to solve this issue in koog framework?
Thank you.