From a8316cb4f2fcff22686e07a49f8d7536b5121f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliet=20Exp=C3=B3sito=20Garc=C3=ADa?= Date: Thu, 5 Sep 2024 02:56:36 -0400 Subject: [PATCH] fix: update OpenRouter model version in custom OpenAI provider (#678) - Updated the model version for the OpenRouter configuration in the custom OpenAI provider from `meta-llama/llama-3-8b-instruct:free` to `meta-llama/llama-3.1-8b-instruct:free` --- .../custom/template/CustomServiceChatCompletionTemplate.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/template/CustomServiceChatCompletionTemplate.kt b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/template/CustomServiceChatCompletionTemplate.kt index 43db6d54..ff133926 100644 --- a/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/template/CustomServiceChatCompletionTemplate.kt +++ b/src/main/kotlin/ee/carlrobert/codegpt/settings/service/custom/template/CustomServiceChatCompletionTemplate.kt @@ -111,7 +111,7 @@ enum class CustomServiceChatCompletionTemplate( ), getDefaultBodyParams( mapOf( - "model" to "meta-llama/llama-3-8b-instruct:free", + "model" to "meta-llama/llama-3.1-8b-instruct:free", "max_tokens" to 1024 ) ) @@ -147,4 +147,4 @@ private fun getDefaultBodyParams(additionalParams: Map): MutableMap ) defaultParams.putAll(additionalParams) return defaultParams -} \ No newline at end of file +}