Skip to content

Commit 469ab07

Browse files
committed
fix(endpoints): add EndpointsContextProvider for 223
1 parent 682642f commit 469ab07

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package cc.unitmesh.endpoints.provider
2+
3+
import cc.unitmesh.devti.provider.context.ChatContextItem
4+
import cc.unitmesh.devti.provider.context.ChatContextProvider
5+
import cc.unitmesh.devti.provider.context.ChatCreationContext
6+
import com.intellij.openapi.project.Project
7+
8+
class EndpointsContextProvider : ChatContextProvider {
9+
override fun isApplicable(project: Project, creationContext: ChatCreationContext): Boolean {
10+
return false
11+
}
12+
13+
override suspend fun collect(
14+
project: Project,
15+
creationContext: ChatCreationContext
16+
): List<ChatContextItem> {
17+
return emptyList()
18+
}
19+
}

0 commit comments

Comments
 (0)