We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b7db54 commit efb06f3Copy full SHA for efb06f3
src/main/kotlin/cc/unitmesh/devti/intentions/action/task/TestCodeGenTask.kt
@@ -193,6 +193,8 @@ class TestCodeGenTask(val request: TestCodeGenRequest) :
193
}
194
195
private fun getRAGContext(testPromptContext: TestCodeGenContext): String {
196
+ if (!project.customAgentSetting.enableCustomRag) return ""
197
+
198
val agent = loadRagApp() ?: return ""
199
200
val query = testPromptContext.sourceCode
0 commit comments