0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/discourse-ai/lib/completions/endpoints/mistral.rb
Sam 34bfe83bfd
FEATURE: native support for attachments in llms (#36415)
This gives native PDF support to llms that allow it. (anthropic / gemini
/ openai)
2025-12-09 17:28:52 +11:00

17 lines
324 B
Ruby
Vendored

# frozen_string_literal: true
module DiscourseAi
module Completions
module Endpoints
class Mistral < OpenAi
def self.can_contact?(llm_model)
llm_model.provider == "mistral"
end
def provider_id
AiApiAuditLog::Provider::Mistral
end
end
end
end
end