From 78252a8c4256fb0dadf93ed5bf5820cdaf617201 Mon Sep 17 00:00:00 2001 From: aleksei-okatiev <64004628+aleksei-okatiev@users.noreply.github.com> Date: Tue, 10 Dec 2024 12:38:10 +0100 Subject: [PATCH] fix --- Gemfile.lock | 2 +- lib/llm_eval_ruby/trace_adapters/langfuse.rb | 2 +- lib/llm_eval_ruby/version.rb | 2 +- spec/llm_eval_ruby_spec.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b1fa65d..47b4921 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - llm_eval_ruby (0.2.2) + llm_eval_ruby (0.2.3) httparty (~> 0.22.0) liquid (~> 5.5.0) diff --git a/lib/llm_eval_ruby/trace_adapters/langfuse.rb b/lib/llm_eval_ruby/trace_adapters/langfuse.rb index ef0ffdb..0c1a719 100644 --- a/lib/llm_eval_ruby/trace_adapters/langfuse.rb +++ b/lib/llm_eval_ruby/trace_adapters/langfuse.rb @@ -50,7 +50,7 @@ def generation(**kwargs) result = yield generation - finish_generation(generation, result) + end_generation(generation, result) result end diff --git a/lib/llm_eval_ruby/version.rb b/lib/llm_eval_ruby/version.rb index 512fb45..11db3be 100644 --- a/lib/llm_eval_ruby/version.rb +++ b/lib/llm_eval_ruby/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module LlmEvalRuby - VERSION = "0.2.2" + VERSION = "0.2.3" end diff --git a/spec/llm_eval_ruby_spec.rb b/spec/llm_eval_ruby_spec.rb index 77b2df3..556d35d 100644 --- a/spec/llm_eval_ruby_spec.rb +++ b/spec/llm_eval_ruby_spec.rb @@ -2,6 +2,6 @@ RSpec.describe LlmEvalRuby do it "has a version number" do - expect(LlmEvalRuby::VERSION).to be("0.2.2") + expect(LlmEvalRuby::VERSION).to be("0.2.3") end end