From 5424fadf05a852e207de1e9dfcc6c2d817cf315c Mon Sep 17 00:00:00 2001 From: Riccardo Carlesso Date: Mon, 28 Oct 2024 14:42:21 +0100 Subject: [PATCH 1/2] Update README.md (#862) missing bracket. { role: "user", parts: [{ text: "why is the sky blue?" }] should be { role: "user", parts: [{ text: "why is the sky blue?" }]} --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From afffe9281af8b183dcd5a820903c42eb153039c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:44:03 -0400 Subject: [PATCH 2/2] [SECURITY] Bump rexml from 3.3.6 to 3.3.9 (#863) Bumps [rexml](https://github.com/ruby/rexml) from 3.3.6 to 3.3.9. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.3.6...v3.3.9) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)