Skip to content

Commit 5ba2525

Browse files
author
Jia Liu
committed
feat: rename package from prompts/openai to prompts/default
1 parent 87d78a8 commit 5ba2525

File tree

9 files changed

+2
-0
lines changed

9 files changed

+2
-0
lines changed

src/main/kotlin/cc/unitmesh/devti/actions/chat/RefactorThisAction.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class RefactorThisAction : ChatBaseAction() {
4040
override fun addAdditionInfo(project: Project, editor: Editor, element: PsiElement): String {
4141
val commentSymbol = commentPrefix(element)
4242

43+
//todo: prompts
4344
return collectProblems(project, editor, element)?.let {
4445
"\n\n$commentSymbol relative static analysis result: $it"
4546
} ?: ""

src/main/kotlin/cc/unitmesh/devti/gui/chat/ChatActionType.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ enum class ChatActionType {
2323
fun instruction(lang: String = "", project: Project?): String {
2424
val devCoderSettings = project?.coderSetting?.state
2525

26+
//todo: prompts
2627
return when (this) {
2728
EXPLAIN -> {
2829
devCoderSettings?.explainCode.let {

0 commit comments

Comments
 (0)