Class: Legion::Extensions::Llm::Anthropic::Actor::FleetWorker
- Inherits:
-
Actors::Subscription
- Object
- Actors::Subscription
- Legion::Extensions::Llm::Anthropic::Actor::FleetWorker
- Defined in:
- lib/legion/extensions/llm/anthropic/actors/fleet_worker.rb
Overview
Subscription actor for Anthropic fleet request consumption.
Instance Method Summary collapse
Instance Method Details
#enabled? ⇒ Boolean
44 45 46 |
# File 'lib/legion/extensions/llm/anthropic/actors/fleet_worker.rb', line 44 def enabled? Legion::Extensions::Llm::Fleet::ProviderResponder.enabled_for?(Anthropic.discover_instances) end |
#runner_class ⇒ Object
32 33 34 |
# File 'lib/legion/extensions/llm/anthropic/actors/fleet_worker.rb', line 32 def runner_class 'Legion::Extensions::Llm::Anthropic::Runners::FleetWorker' end |
#runner_function ⇒ Object
36 37 38 |
# File 'lib/legion/extensions/llm/anthropic/actors/fleet_worker.rb', line 36 def runner_function 'handle_fleet_request' end |
#use_runner? ⇒ Boolean
40 41 42 |
# File 'lib/legion/extensions/llm/anthropic/actors/fleet_worker.rb', line 40 def use_runner? false end |