Skip to content

Commit cf0b5f7

Browse files
committed
refactor(llm): clean up unused properties and comments in LLMProviderAdapter
1 parent efb533f commit cf0b5f7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

core/src/main/kotlin/cc/unitmesh/devti/llms/LLMProviderAdapter.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,10 @@ class LLMProviderAdapter(
2222
private val project: Project,
2323
private val modelType: ModelType = ModelType.Default
2424
) : LLMProvider {
25-
2625
private val logger = logger<LLMProviderAdapter>()
2726
private val agentService = project.getService(AgentStateService::class.java)
2827

29-
// Internal message history to maintain compatibility with old interface
3028
private val messages: MutableList<Message> = mutableListOf()
31-
32-
// The underlying LLMProvider2 instance
33-
private val provider2: LLMProvider2 by lazy {
34-
createProvider2()
35-
}
36-
37-
// Current session for LLMProvider2
3829
private var currentSession: ChatSession<Message> = ChatSession("adapter-session")
3930

4031
override val defaultTimeout: Long get() = 600

0 commit comments

Comments
 (0)