You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonq/workspace/context/ProjectContextProviderTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ class ProjectContextProviderTest {
51
51
fun`test query payload is encrypted`() = runTest {
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/project/ProjectContextController.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ class ProjectContextController(private val project: Project, private val cs: Cor
53
53
54
54
funquery(prompt:String): List<RelevantDocument> {
55
55
try {
56
-
return projectContextProvider.query(prompt)
56
+
return projectContextProvider.queryChat(prompt)
57
57
} catch (e:Exception) {
58
58
logger.warn { "error while querying for project context $e.message" }
59
59
return emptyList()
@@ -62,7 +62,7 @@ class ProjectContextController(private val project: Project, private val cs: Cor
62
62
63
63
funqueryBM25(prompt:String, filePath:String): Any {
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/project/ProjectContextProvider.kt
+21-19Lines changed: 21 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -181,36 +181,38 @@ class ProjectContextProvider(val project: Project, private val encoderServer: En
0 commit comments