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.
290 291 292 |
# File 'lib/legion/llm/api/namespaces/anthropic/files.rb', line 290 def self. @metadata_store ||= Concurrent::Map.new end |
.reset_metadata_store! ⇒ Object
Reset for test isolation.
295 296 297 |
# File 'lib/legion/llm/api/namespaces/anthropic/files.rb', line 295 def self. @metadata_store = Concurrent::Map.new end |