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`
This commit is contained in:
Aliet Expósito García 2024-09-05 02:56:36 -04:00 committed by Carl-Robert Linnupuu
parent baa99d97d1
commit a8316cb4f2

View file

@ -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<String, Any>): MutableMap
)
defaultParams.putAll(additionalParams)
return defaultParams
}
}