diff --git a/Gemfile.lock b/Gemfile.lock index 77f22ad18..74b760fbf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -325,8 +325,7 @@ GEM faraday-multipart faraday-retry require-hooks (0.2.2) - rexml (3.3.6) - strscan + rexml (3.3.9) roo (2.10.1) nokogiri (~> 1) rubyzip (>= 1.3.0, < 3.0.0) @@ -404,7 +403,6 @@ GEM lint_roller (~> 1.1) rubocop-performance (~> 1.21.0) stringio (3.1.0) - strscan (3.1.0) thor (1.3.1) timeout (0.4.1) treetop (1.6.12) diff --git a/README.md b/README.md index 19c4242c7..ec2442890 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ messages = [ { role: "system", content: "You are a helpful assistant." }, { role: "user", content: "What's the weather like today?" } # Google Gemini and Google VertexAI expect messages in a different format: - # { role: "user", parts: [{ text: "why is the sky blue?" }] + # { role: "user", parts: [{ text: "why is the sky blue?" }]} ] response = llm.chat(messages: messages) chat_completion = response.chat_completion