dotfiles/scripts/edit-os/edit_os.rb
2025-07-11 23:29:18 +03:00

10 lines
257 B
Ruby

require 'ruby_llm'
RubyLLM.configure do |config|
config.ollama_api_base = "http://127.0.0.1:11434/v1"
end
chat = RubyLLM.chat(model: 'qwen3:8b', provider: :ollama)
print chat.ask "What's the best way to learn Ruby? Answer in 10 words or less /nothink"