main
1# frozen_string_literal: true
2
3Elelem::Providers.register(:anthropic) do
4 api_key = ENV.fetch("ANTHROPIC_API_KEY")
5 Elelem::Net::Claude.new(
6 endpoint: "https://api.anthropic.com/v1/messages",
7 headers: { "x-api-key" => api_key, "anthropic-version" => "2023-06-01" },
8 model: ENV.fetch("ANTHROPIC_MODEL", "claude-opus-4-5-20250514"),
9 )
10end