Skip to content

Commit 2f08dbe

Browse files
committed
refactor(llms): Move PromptTemplate to flow package
Move PromptTemplate from llms to flow package to better organize the codebase and improve maintainability. Update related imports and package declarations.
1 parent 30e4a5a commit 2f08dbe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

java/src/main/kotlin/cc/unitmesh/idea/flow/JvmAutoDevFlow.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import cc.unitmesh.devti.flow.model.SimpleStory
77
import cc.unitmesh.devti.prompting.code.TargetEndpoint
88
import cc.unitmesh.devti.gui.chat.ChatCodingPanel
99
import cc.unitmesh.devti.llms.LLMProvider
10-
import cc.unitmesh.devti.llms.openai.PromptTemplate
10+
import cc.unitmesh.devti.flow.PromptTemplate
1111
import cc.unitmesh.devti.util.parser.parseCodeFromString
1212
import cc.unitmesh.devti.provider.DevFlowProvider
1313
import cc.unitmesh.devti.provider.PromptStrategy

src/main/kotlin/cc/unitmesh/devti/llms/openai/PromptTemplate.kt renamed to src/main/kotlin/cc/unitmesh/devti/flow/PromptTemplate.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cc.unitmesh.devti.llms.openai
1+
package cc.unitmesh.devti.flow
22

33
import cc.unitmesh.devti.context.model.DtClass
44
import cc.unitmesh.devti.flow.model.SimpleProjectInfo

src/test/kotlin/cc/unitmesh/devti/prompt/openai/PromptTemplateTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cc.unitmesh.devti.prompt.openai
22

33
import cc.unitmesh.devti.context.model.DtClass
4-
import cc.unitmesh.devti.llms.openai.PromptTemplate
4+
import cc.unitmesh.devti.flow.PromptTemplate
55
import cc.unitmesh.devti.flow.model.SimpleProjectInfo
66
import org.junit.Assert.assertEquals
77
import org.junit.Ignore

0 commit comments

Comments
 (0)