diff --git a/, b/, index 07e4de4..92fe9f8 100755 --- a/, +++ b/, @@ -29,6 +29,7 @@ echo "pipx:" $(command -v pipx || error "not found") echo "nodejs:": $(command -v node || error "not found") echo "pnpm:" $(command -v pnpm || error "not found") echo "go:" $(command -v go || error "not found") +echo "ruby_llm:" $(gem list -i '^ruby_llm$') echo "" echo "mise:" $(command -v mise || error "not found") diff --git a/ruby_llm_config.rb b/ruby_llm_config.rb new file mode 100644 index 0000000..0449dd3 --- /dev/null +++ b/ruby_llm_config.rb @@ -0,0 +1,6 @@ +require 'ruby_llm' + +RubyLLM.configure do |config| + config.openai_api_key = ENV['ALIYUN_AI_API_KEY'] + config.openai_api_base = "https://dashscope.aliyuncs.com/compatible-mode/v1" +end