Commit d33aa91

mo khan <mo@mokhan.ca>
2026-03-11 21:21:33
refactor: inline usage of Claude.anthropic
1 parent ffc0a8a
Changed files (1)
lib
lib/elelem/anthropic.rb
@@ -3,15 +3,6 @@
 module Elelem
   module Net
     class Claude
-      def self.anthropic(model:, api_key:, http: Elelem::Net.http)
-        new(
-          endpoint: "https://api.anthropic.com/v1/messages",
-          headers: { "x-api-key" => api_key, "anthropic-version" => "2023-06-01" },
-          model:,
-          http:
-        )
-      end
-
       def self.vertex(model:, project:, region: "us-east5", http: Elelem::Net.http)
         new(
           endpoint: "https://#{region}-aiplatform.googleapis.com/v1/projects/#{project}/locations/#{region}/publishers/anthropic/models/#{model}:rawPredict",