Class: Foobara::Ai::OllamaApi::ListLocalModels
- Inherits:
-
BaseCommand
- Object
- Command
- BaseCommand
- Foobara::Ai::OllamaApi::ListLocalModels
- Includes:
- CachedCommand
- Defined in:
- foobara-ollama-api-1.0.3/src/foobara/ai/ollama_api/list_local_models.rb
Constant Summary
Constants included from TruncatedInspect
Instance Method Summary collapse
Methods inherited from BaseCommand
#api_token, #build_request_headers
Methods inherited from Command
Methods included from TruncatedInspect
Methods included from Concern
foobara_class_methods_module_for, foobara_concern?, included
Instance Method Details
#build_result ⇒ Object
17 18 19 |
# File 'src/foobara/ai/ollama_api/list_local_models.rb', line 17 def build_result response_body["models"] end |