Merge AI plumbing 2a into 2b

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016zAWUV2Sxn9CgsmcUqojAZ
This commit is contained in:
josh-sanders
2026-11-08 09:03:55 +10:00
co-authored by Claude Opus 5.5
+1 -1
View File
@@ -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?