ruby_llm-instrumentation 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40d0077ab75737f0cc26a40df7249d3a1c0b2907504adbf753dc1b5d97dc249c
4
- data.tar.gz: eb7d1694584584c1f0e9cea0fe8161e53e34e02a9f38aa6676cb2c66d7c4ae26
3
+ metadata.gz: 19edafad16b64a3aa803a8ef696f42fc262c5e51d375aaab777e3c7e7a81118b
4
+ data.tar.gz: 3e9078fecfb372deb54d00d0f000f84c37456c8cf96a31202db998ecc3a21709
5
5
  SHA512:
6
- metadata.gz: 77b54c9936dc4fe603c59c1525202af80d31c317fdf9ea22fe3b04914c76c501bfbdb5ae1785a2a314ee57da65685184ddcb680d9f5c39d3e53460bd806d56bd
7
- data.tar.gz: 1885dec884b5396c1ff055af82a5c40253e3339f53bd2f02c43945d6304be1176cac2d95135662627d6551ea29a5c7efe4d2d660362ad0effecbdaf7bdf013ce
6
+ metadata.gz: 239edbda2244c0b8388b42da2518b3e1663d712b32ab304228b0229a15337a79a6aaf5232d636a1be63e38c1a916651e19975e8f949da028cd75cb9cbcfb7b95
7
+ data.tar.gz: 12a2514fa4c328983a99f6b7850cce1a092ee3fedafd0437c634efe83ce41d6308a0e28ece6f61f38e7d2f86262d064fa4db0eb50d1ec0786b05707ec82cb808
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.1] - 2026-02-10
9
+
10
+ ### Fixed
11
+
12
+ - `RubyLLM#paint` instrumentation was broken because it was calling `RubyLLM::Image#model`, which doesn't exist. [#13](https://github.com/sinaptia/ruby_llm-instrumentation/pull/13) [@patriciomacadden](https://github.com/patriciomacadden)
13
+
8
14
  ## [0.2.0] - 2026-01-20
9
15
 
10
16
  ### Added
@@ -16,7 +16,7 @@ module RubyLLM
16
16
  ActiveSupport::Notifications.instrument("paint_image.ruby_llm", raw_payload) do |payload|
17
17
  original_paint(prompt, model:, provider:, assume_model_exists:, size:, context:).tap do |response|
18
18
  payload[:image] = response
19
- payload[:model] = response.model
19
+ payload[:model] = response.model_id
20
20
  end
21
21
  end
22
22
  end
@@ -1,5 +1,5 @@
1
1
  module RubyLLM
2
2
  module Instrumentation
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_llm-instrumentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patricio Mac Adden