-
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.
feat: add worker context to text builder
- Loading branch information
Showing
6 changed files
with
32 additions
and
12 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
7 changes: 6 additions & 1 deletion
7
unit-picker/src/main/kotlin/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,8 +1,13 @@ | ||
package cc.unitmesh.pick.picker | ||
|
||
import cc.unitmesh.pick.prompt.InstructionType | ||
|
||
data class PickerConfig( | ||
val url: String, | ||
val branch: String = "master", | ||
val baseDir: String = "." | ||
val baseDir: String = ".", | ||
val builderTypes: List<InstructionType> = listOf( | ||
InstructionType.RELATED_CODE_COMPLETION | ||
), | ||
) { | ||
} |
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
7 changes: 7 additions & 0 deletions
7
unit-picker/src/main/kotlin/cc/unitmesh/pick/worker/WorkerContext.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,7 @@ | ||
package cc.unitmesh.pick.worker | ||
|
||
import cc.unitmesh.pick.prompt.InstructionType | ||
|
||
data class WorkerContext( | ||
val builderType: List<InstructionType>, | ||
) |
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