ruby_conversations 1.1.15 → 1.1.16

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: 3c699cebb71c6b474fc4d69f0303a09df442a3005b40a211aa2948da20bc4979
4
- data.tar.gz: 59532ffda0093a97a4e3fbee0efb1544901efc6dcc6c31fbe13649768dd7644f
3
+ metadata.gz: f757a885d4bea5a6971b8a326d25794ecef158b4eb5a484ed436a4d7bfd4557a
4
+ data.tar.gz: dbd87286bdeae1bc169c5582f4393d810f1da293207aaa47431e9d3e85be48ee
5
5
  SHA512:
6
- metadata.gz: 17f693b90549a70c3f8639934c264c00bdde4000b674405e99f8ecd2c4e5696b13a1df18800180bc8ce6b0d2652e154ab81fee6f80bda46d4c824214dbeaa56f
7
- data.tar.gz: 6c4caab21a4028c519a5a7d381e264494a752235b22424d144afc2c101bd61b295ed0ae004b7f38c2d2d3d39cf6ddc0b1e8a6edf3a3dad6a78fd80861d5f6162
6
+ metadata.gz: cd9534b2494969866a7b317afa498fb52256864221d0738a7c1a85393d5f29ef322767a1a5070ff9256fb71b98a2e3360b933f7ea6118967c189debb8941f96c
7
+ data.tar.gz: '08b60b27a515d4ab060259558015fdb2621fdedb16e03cf3de5cbc5a9449873b89ce116c58dc589e2d938f4ad341b2499dbb92e14e1b6caff229016ec38b483d'
@@ -23,6 +23,9 @@ module RubyConversations
23
23
 
24
24
  def chat
25
25
  @chat ||= RubyLLM.chat(model: llm, provider: provider).with_temperature(0.0)
26
+ rescue RubyLLM::ModelNotFoundError
27
+ RubyLLM.models.refresh!
28
+ @chat ||= RubyLLM.chat(model: llm, provider: provider).with_temperature(0.0)
26
29
  end
27
30
 
28
31
  def model_identifier
@@ -3,7 +3,7 @@
3
3
  module RubyConversations
4
4
  MAJOR = 1
5
5
  MINOR = 1
6
- PATCH = 15
6
+ PATCH = 16
7
7
 
8
8
  VERSION = "#{RubyConversations::MAJOR}.#{RubyConversations::MINOR}.#{RubyConversations::PATCH}".freeze
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_conversations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.15
4
+ version: 1.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Shippy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-14 00:00:00.000000000 Z
11
+ date: 2025-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport