diff --git a/app/models/ai/transport/http.rb b/app/models/ai/transport/http.rb index 47d25450c9..9144b7d490 100644 --- a/app/models/ai/transport/http.rb +++ b/app/models/ai/transport/http.rb @@ -69,7 +69,7 @@ module Ai::Transport::Http ::OpenAI::Client.new(**options, &faraday_options(base || OPENAI_BASE)) end - # The anthropic gem's client: model listing and the Anthropic PDF probe. It takes no proxy. + # The anthropic gem's client, for the Anthropic PDF probe, as PDF import uses it. It takes no proxy. def anthropic_client(endpoint, timeout: endpoint.timeout_seconds) options = { api_key: endpoint.api_key.to_s, max_retries: 0, timeout: } options[:base_url] = endpoint.base_url if endpoint.base_url.present?