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