We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b0eb78 commit c8cd658Copy full SHA for c8cd658
lib/ruby_llm/providers/ollama/models.rb
@@ -17,6 +17,14 @@ def models_url
17
#
18
# create an alias gemma3 for gemma3:27b
19
20
+ # NOTE: Unlike other providers for well known APIs with stable model
21
+ # offerings, the Ollama provider deals with local servers which
22
+ # might have arbitrarily named models or even zero models installed.
23
+ #
24
+ # Thus, this provider can't ship hardcoded assumptions in models.json
25
+ # and thus no Ollama models will be known at runtime, so you'll need a
26
+ # `RubyLLM.models.refresh!` to populate your instance's models.
27
+
28
def list_models
29
return [] unless enabled?
30
0 commit comments