Class: RubyLLM::Providers::Anthropic

Inherits:
Object
  • Object
show all
Defined in:
lib/swarm_sdk/ruby_llm_patches/configuration_patch.rb

Defined Under Namespace

Modules: Chat

Instance Method Summary collapse

Instance Method Details

#api_baseObject

Override api_base to use configurable base URL



37
38
39
# File 'lib/swarm_sdk/ruby_llm_patches/configuration_patch.rb', line 37

def api_base
  @config.anthropic_api_base || "https://api.anthropic.com"
end