fix: remove nextedit, use mercury-coder for both fim and next edit
This commit is contained in:
parent
cc64b584ef
commit
2b0e6a5cf6
1 changed files with 1 additions and 7 deletions
|
|
@ -16,12 +16,6 @@ sealed class NextEditModelMatcher {
|
|||
title?.lowercase()?.contains("mercury-coder") == true
|
||||
}
|
||||
|
||||
data object MercuryCoderNextEdit : NextEditModelMatcher() {
|
||||
override fun matches(modelName: String?, title: String?): Boolean =
|
||||
modelName?.lowercase()?.contains("mercury-coder-nextedit") == true ||
|
||||
title?.lowercase()?.contains("mercury-coder-nextedit") == true
|
||||
}
|
||||
|
||||
data object Instinct : NextEditModelMatcher() {
|
||||
override fun matches(modelName: String?, title: String?): Boolean =
|
||||
modelName?.lowercase()?.contains("instinct") == true ||
|
||||
|
|
@ -29,7 +23,7 @@ sealed class NextEditModelMatcher {
|
|||
}
|
||||
|
||||
companion object {
|
||||
private val allMatchers = listOf(MercuryCoder, MercuryCoderNextEdit, Instinct)
|
||||
private val allMatchers = listOf(MercuryCoder, Instinct)
|
||||
|
||||
fun isSupported(modelName: String?, title: String?): Boolean =
|
||||
allMatchers.any { it.matches(modelName, title) }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue