Skip to content

Commit

Permalink
feat: make Codestral as default code completion model and remove Star…
Browse files Browse the repository at this point in the history
…Coder entirely
  • Loading branch information
carlrobertoh committed Nov 30, 2024
1 parent f84a659 commit 3670fdf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3670fdf

Please sign in to comment.