ruby_conversations 1.0.13 → 1.0.14

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: aff2d69d93269766f9c467bf51769bf4fa6e96843fff2019b7920f7229aabd1c
4
- data.tar.gz: d9bfcd7fc3f4c1900c51dc8576e5f51d9725cbc284eec25fa5bbe60fda419ad6
3
+ metadata.gz: 1d6209ce940d83da8e50a14df8ef7b7aa9134676742022cc7fcbe47eaaba94bc
4
+ data.tar.gz: 010bf794202f4030e657c4fed0d88e39a8dceac460e9e32ca331cb2d340a020a
5
5
  SHA512:
6
- metadata.gz: 6d8b57d3de0e5344ba6bd9eb8ff84a62ba0eb0bf81553604113bd6f40146148d9cffcc60d65c91922e97e3703021e5898bd7362a3b97b555e47c826985e50d76
7
- data.tar.gz: 755d57ff124a880a2a1f70fe9f1d573206e7c3002c8f813bfdff960adb30211110728cd4a9487ba8afc7599b273a59e2d0939f996157cbfcc43c9c04a0097a32
6
+ metadata.gz: 3686165abf53df27c35c84b0e1444e6be18336fcb939aebb36245fa906f72a31eb18468d2d6782d39eafac19ba2f60e4f07ee48a492880a883ec16cf331c376b
7
+ data.tar.gz: dac103d0a4ef37ca87e874dd1a36924800aa8c0a96e0ba5798434e7e246a97daad7d79d475d9758798938e0b426d39f0b6bfc146989286a8783ba745708d4480
@@ -12,7 +12,7 @@ module RubyConversations
12
12
 
13
13
  def configure_llm_credentials
14
14
  RubyLLM.configure do |config|
15
- credentials = ENV['AWS_ACCESS_KEY_ID'].present? ? env_credentials : provider_credentials
15
+ credentials = provider_credentials
16
16
  config.bedrock_region = ENV.fetch('AWS_REGION', 'us-west-2')
17
17
  config.bedrock_api_key = credentials[:api_key]
18
18
  config.bedrock_secret_key = credentials[:secret_key]
@@ -54,7 +54,7 @@ module RubyConversations
54
54
  end
55
55
 
56
56
  def use_mock_credentials?
57
- ENV['RAILS_ENV'] != 'production'
57
+ ENV['RAILS_ENV'] == 'test'
58
58
  end
59
59
 
60
60
  def set_mock_credentials
@@ -3,7 +3,7 @@
3
3
  module RubyConversations
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- PATCH = 13
6
+ PATCH = 14
7
7
 
8
8
  VERSION = "#{RubyConversations::MAJOR}.#{RubyConversations::MINOR}.#{RubyConversations::PATCH}".freeze
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_conversations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Shippy