Module: Legion::LLM::API::Namespaces::Anthropic::Files
- Extended by:
- Legion::Logging::Helper, Sinatra::Extension
- Defined in:
- lib/legion/llm/api/namespaces/anthropic/files.rb
Class Method Summary collapse
-
.metadata_store ⇒ Object
Thread-safe metadata store, re-initialized cleanly on each Sinatra::Extension register.
-
.reset_metadata_store! ⇒ Object
Reset for test isolation.
Class Method Details
.metadata_store ⇒ Object
Thread-safe metadata store, re-initialized cleanly on each Sinatra::Extension register.
291 292 293 |
# File 'lib/legion/llm/api/namespaces/anthropic/files.rb', line 291 def self. @metadata_store ||= Concurrent::Map.new end |
.reset_metadata_store! ⇒ Object
Reset for test isolation.
296 297 298 |
# File 'lib/legion/llm/api/namespaces/anthropic/files.rb', line 296 def self. @metadata_store = Concurrent::Map.new end |