File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
core/src/main/kotlin/cc/unitmesh/devti/llms Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,10 @@ class LLMProviderAdapter(
22
22
private val project : Project ,
23
23
private val modelType : ModelType = ModelType .Default
24
24
) : LLMProvider {
25
-
26
25
private val logger = logger<LLMProviderAdapter >()
27
26
private val agentService = project.getService(AgentStateService ::class .java)
28
27
29
- // Internal message history to maintain compatibility with old interface
30
28
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
38
29
private var currentSession: ChatSession <Message > = ChatSession (" adapter-session" )
39
30
40
31
override val defaultTimeout: Long get() = 600
You can’t perform that action at this time.
0 commit comments