mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-21 19:13:38 +00:00
feat: make Codestral as default code completion model and remove StarCoder entirely
This commit is contained in:
parent
f84a659cf6
commit
3670fdfb0f
3 changed files with 2 additions and 3 deletions
|
|
@ -62,7 +62,6 @@ object CodeGPTAvailableModels {
|
|||
DEFAULT_CODE_MODEL,
|
||||
CodeGPTModel("Qwen 2.5 Coder", "qwen-2.5-32b-code", Icons.Qwen, FREE),
|
||||
CodeGPTModel("GPT-3.5 Turbo Instruct", "gpt-3.5-turbo-instruct", Icons.OpenAI, FREE),
|
||||
CodeGPTModel("StarCoder", "starcoder-7b", Icons.CodeGPTModel, ANONYMOUS),
|
||||
)
|
||||
|
||||
@JvmStatic
|
||||
|
|
|
|||
|
|
@ -21,5 +21,5 @@ class CodeGPTServiceChatCompletionSettingsState : BaseState() {
|
|||
|
||||
class CodeGPTServiceCodeCompletionSettingsState : BaseState() {
|
||||
var codeCompletionsEnabled by property(false)
|
||||
var model by string("starcoder-7b")
|
||||
var model by string("codestral")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ enum class CustomServiceCodeCompletionTemplate(
|
|||
FIREWORKS(
|
||||
"https://api.fireworks.ai/inference/v1/completions",
|
||||
getDefaultHeadersWithAuthentication(),
|
||||
getDefaultBodyParams(mapOf("model" to "accounts/fireworks/models/starcoder-7b"))
|
||||
getDefaultBodyParams(mapOf("model" to "accounts/fireworks/models/qwen2p5-coder-32b-instruct"))
|
||||
),
|
||||
OPENAI(
|
||||
"https://api.openai.com/v1/completions",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue