-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
48 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ plugins { | |
include( | ||
"unit-core", | ||
"unit-picker", | ||
"unit-eval", | ||
"unit-pick", | ||
|
||
"code-quality" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...in/kotlin/cc/unitmesh/eval/picker/Main.kt → .../src/main/kotlin/cc/unitmesh/pick/Main.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/cc/unitmesh/eval/picker/PickerConfig.kt → ...n/cc/unitmesh/pick/picker/PickerConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package cc.unitmesh.eval.picker | ||
package cc.unitmesh.pick.picker | ||
|
||
data class PickerConfig( | ||
val url: String, | ||
|
25 changes: 25 additions & 0 deletions
25
unit-picker/src/main/kotlin/cc/unitmesh/pick/picker/ToolingPromptType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package cc.unitmesh.pick.picker | ||
|
||
enum class ToolingPromptType { | ||
/** | ||
* like GitHub Copilot, use similar chunk of code to complete | ||
*/ | ||
INLINE_CODE_COMPLETION, | ||
|
||
/** | ||
* like GitHub Copilot, use similar chunk of code to complete | ||
*/ | ||
IN_BLOCK_CODE_COMPLETION, | ||
|
||
/** | ||
* like GitHub Copilot, use similar chunk of code to complete | ||
*/ | ||
AFTER_BLOCK_CODE_COMPLETION, | ||
|
||
/** | ||
* like AutoDev, use Static Program Analysis for code based on imports | ||
*/ | ||
RELATED_CODE_COMPLETION, | ||
CODE_DIFF, | ||
REFACTOR, | ||
} |
2 changes: 1 addition & 1 deletion
2
...mesh/eval/picker/worker/AbstractWorker.kt → ...cc/unitmesh/pick/worker/AbstractWorker.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...mesh/eval/picker/worker/WorkerDispatch.kt → ...cc/unitmesh/pick/worker/WorkerDispatch.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package cc.unitmesh.eval.picker.worker | ||
package cc.unitmesh.pick.worker | ||
|
||
object WorkerDispatch { | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters