Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 761565f

Browse files
committed
address PR review
1 parent 88e289e commit 761565f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/models/ai_api_audit_log.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module Provider
1313
Cohere = 6
1414
Ollama = 7
1515
SambaNova = 8
16+
Mistral = 9
1617
end
1718

1819
def next_log_id

lib/completions/endpoints/mistral.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ class Mistral < OpenAi
77
def self.can_contact?(model_provider)
88
model_provider == "mistral"
99
end
10+
11+
def provider_id
12+
AiApiAuditLog::Provider::Mistral
13+
end
1014
end
1115
end
1216
end

0 commit comments

Comments
 (0)