feat: Add few-shots system prompt and prompt template (#42) #173
Annotations
1 error, 12 warnings, and 2 notices
Usage of API marked for removal:
src/main/kotlin/com/github/fmueller/jarvis/ai/SimpleTokenizer.kt#L19
'text()' is deprecated and marked for removal
|
Build
This job uses deprecated functionality from the 'gradle/wrapper-validation-action' action. Consult the logs for more details.
|
Build
This job uses deprecated functionality from the 'gradle/actions/setup-gradle' action. Consult the Job Summary for more details.
|
Test
This job uses deprecated functionality from the 'gradle/actions/setup-gradle' action. Consult the Job Summary for more details.
|
Local 'var' is never modified and can be declared as 'val':
src/main/kotlin/com/github/fmueller/jarvis/ai/OllamaService.kt#L137
Variable is never modified, so it can be declared using 'val'
|
Redundant nullable return type:
src/main/kotlin/com/github/fmueller/jarvis/conversation/CodeContextHelper.kt#L11
'getCodeContext' always returns non-null type
|
|
Unused symbol:
src/main/kotlin/com/github/fmueller/jarvis/conversation/Conversation.kt#L73
Property "messages" is never used
|
Unused symbol:
src/main/kotlin/com/github/fmueller/jarvis/MyBundle.kt#L11
Object "MyBundle" is never used
|
Inspect code
You are running a Qodana linter without an exact version tag: jetbrains/qodana-jvm-community:latest
|
Inspect code
You are running a Qodana linter without an exact version tag: jetbrains/qodana-jvm-community:latest
|
Inspect code
You are running a Qodana linter without an exact version tag: jetbrains/qodana-jvm-community:latest
|
Verify plugin
This job uses deprecated functionality from the 'gradle/actions/setup-gradle' action. Consult the Job Summary for more details.
|
Class member can have 'private' visibility:
src/main/kotlin/com/github/fmueller/jarvis/conversation/Conversation.kt#L54
Function 'isHelpMessage' could be private
|
Unnecessary type argument:
src/main/kotlin/com/github/fmueller/jarvis/ai/OllamaService.kt#L156
Remove explicit type arguments
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
jarvis-1.5.0
|
27.5 MB |
|
pluginVerifier-result
|
19.6 KB |
|