From a86e1294fce8ea96126bdfd99890a3663427a37a Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Fri, 5 Sep 2025 18:01:59 +0200 Subject: [PATCH] Update to ruby_llm latest and add more models to try in the sandbox --- Gemfile.lock | 4 ++-- app/helpers/ai_helper.rb | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7ab211531..3a6b0f74f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -97,9 +97,9 @@ GIT GIT remote: https://github.com/crmne/ruby_llm.git - revision: 0dfd6625036aa2c5596bdc7c339ebb46f848999e + revision: 32611afc114c5f40696dd42f8a1eaee6b6b81330 specs: - ruby_llm (1.6.0) + ruby_llm (1.6.4) base64 event_stream_parser (~> 1) faraday (>= 1.10.0) diff --git a/app/helpers/ai_helper.rb b/app/helpers/ai_helper.rb index 73b9d7b43..171dcda01 100644 --- a/app/helpers/ai_helper.rb +++ b/app/helpers/ai_helper.rb @@ -2,6 +2,10 @@ require "zlib" module AiHelper LLM_MODELS = %w[ + gpt-5-chat-latest + gpt-5-mini + gpt-5-nano + gpt-5 chatgpt-4o-latest gpt-4.1 gpt-3.5-turbo