Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ open class OpenAiCompatibleModelFactory(

private val OPEN_AI = ProviderEndpoint(OpenAiModels.PROVIDER, null)
private val DEEP_SEEK = ProviderEndpoint(DeepSeekModels.PROVIDER, "https://api.deepseek.com")
private val MISTRAL = ProviderEndpoint(MistralAiModels.PROVIDER, "https://api.mistral.ai")
private val MISTRAL = ProviderEndpoint(MistralAiModels.PROVIDER, "https://api.mistral.ai/v1")
private val GEMINI = ProviderEndpoint(
GoogleGenAiModels.PROVIDER,
"https://generativelanguage.googleapis.com/v1beta/openai",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class OpenAiCompatibleModelFactoryEndpointTest {
fun `every provider this module supports has an endpoint`() {
val expected = mapOf(
DeepSeekModels.PROVIDER to "https://api.deepseek.com",
MistralAiModels.PROVIDER to "https://api.mistral.ai",
MistralAiModels.PROVIDER to "https://api.mistral.ai/v1",
GoogleGenAiModels.PROVIDER to "https://generativelanguage.googleapis.com/v1beta/openai",
AtlasCloudModels.PROVIDER to "https://api.atlascloud.ai/v1",
)
Expand Down
Loading