Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ build-iPhoneSimulator/
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
Gemfile.lock
# .ruby-version
.ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
Expand Down
40 changes: 23 additions & 17 deletions gemfiles/rails_7.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -98,25 +98,25 @@ GEM
rake
thor (>= 0.14.0)
ast (2.4.3)
async (2.28.1)
async (2.24.0)
console (~> 1.29)
fiber-annotation
io-event (~> 1.11)
io-event (~> 1.9)
metrics (~> 0.12)
traces (~> 0.18)
traces (~> 0.15)
base64 (0.3.0)
benchmark (0.4.1)
bigdecimal (3.2.2)
bigdecimal (3.2.3)
builder (3.3.0)
cgi (0.5.0)
childprocess (5.1.0)
logger (~> 1.5)
codecov (0.2.12)
json
simplecov
codecov (0.6.0)
simplecov (>= 0.15, < 0.22)
coderay (1.1.3)
concurrent-ruby (1.3.5)
connection_pool (2.5.4)
console (1.33.0)
console (1.30.2)
fiber-annotation
fiber-local (~> 1.1)
json
Expand All @@ -129,7 +129,8 @@ GEM
docile (1.4.1)
dotenv (3.1.8)
drb (2.2.3)
erb (5.0.2)
erb (4.0.4)
cgi (>= 0.3.3)
erubi (1.13.1)
event_stream_parser (1.0.0)
faraday (2.13.4)
Expand All @@ -148,6 +149,7 @@ GEM
concurrent-ruby (~> 1.1)
webrick (~> 1.7)
websocket-driver (~> 0.7)
ffi (1.17.2-arm64-darwin)
ffi (1.17.2-x86_64-linux-gnu)
fiber-annotation (0.2.0)
fiber-local (1.1.0)
Expand Down Expand Up @@ -180,13 +182,13 @@ GEM
ruby-vips (>= 2.0.17, < 3)
iniparse (1.5.0)
io-console (0.8.1)
io-event (1.13.0)
io-event (1.11.2)
irb (1.15.2)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.13.2)
json-schema (6.0.0)
json-schema (5.2.2)
addressable (~> 2.8)
bigdecimal (~> 3.1)
jwt (3.1.2)
Expand All @@ -204,7 +206,7 @@ GEM
net-smtp
marcel (1.0.4)
method_source (1.1.0)
metrics (0.14.0)
metrics (0.12.2)
mini_magick (5.3.1)
logger
mini_mime (1.1.5)
Expand All @@ -224,6 +226,8 @@ GEM
net-smtp (0.5.1)
net-protocol
nio4r (2.7.4)
nokogiri (1.18.9-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.9-x86_64-linux-gnu)
racc (~> 1.4)
os (1.1.4)
Expand Down Expand Up @@ -307,7 +311,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.5)
rubocop (1.80.1)
rubocop (1.80.2)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
Expand Down Expand Up @@ -346,7 +350,7 @@ GEM
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 4.0)
multi_json (~> 1.10)
simplecov (0.22.0)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
Expand All @@ -355,11 +359,12 @@ GEM
simplecov (~> 0.19)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
sqlite3 (2.7.3-arm64-darwin)
sqlite3 (2.7.3-x86_64-linux-gnu)
stringio (3.1.7)
thor (1.4.0)
timeout (0.4.3)
traces (0.18.1)
traces (0.15.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.1.5)
Expand All @@ -377,9 +382,10 @@ GEM
base64
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
zeitwerk (2.7.3)
zeitwerk (2.6.18)

PLATFORMS
arm64-darwin-23
x86_64-linux

DEPENDENCIES
Expand Down Expand Up @@ -416,4 +422,4 @@ DEPENDENCIES
webmock (~> 3.18)

BUNDLED WITH
2.6.9
2.3.26
40 changes: 23 additions & 17 deletions gemfiles/rails_7.2.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -92,25 +92,25 @@ GEM
rake
thor (>= 0.14.0)
ast (2.4.3)
async (2.28.1)
async (2.24.0)
console (~> 1.29)
fiber-annotation
io-event (~> 1.11)
io-event (~> 1.9)
metrics (~> 0.12)
traces (~> 0.18)
traces (~> 0.15)
base64 (0.3.0)
benchmark (0.4.1)
bigdecimal (3.2.2)
bigdecimal (3.2.3)
builder (3.3.0)
cgi (0.5.0)
childprocess (5.1.0)
logger (~> 1.5)
codecov (0.2.12)
json
simplecov
codecov (0.6.0)
simplecov (>= 0.15, < 0.22)
coderay (1.1.3)
concurrent-ruby (1.3.5)
connection_pool (2.5.4)
console (1.33.0)
console (1.30.2)
fiber-annotation
fiber-local (~> 1.1)
json
Expand All @@ -123,7 +123,8 @@ GEM
docile (1.4.1)
dotenv (3.1.8)
drb (2.2.3)
erb (5.0.2)
erb (4.0.4)
cgi (>= 0.3.3)
erubi (1.13.1)
event_stream_parser (1.0.0)
faraday (2.13.4)
Expand All @@ -142,6 +143,7 @@ GEM
concurrent-ruby (~> 1.1)
webrick (~> 1.7)
websocket-driver (~> 0.7)
ffi (1.17.2-arm64-darwin)
ffi (1.17.2-x86_64-linux-gnu)
fiber-annotation (0.2.0)
fiber-local (1.1.0)
Expand Down Expand Up @@ -174,13 +176,13 @@ GEM
ruby-vips (>= 2.0.17, < 3)
iniparse (1.5.0)
io-console (0.8.1)
io-event (1.13.0)
io-event (1.11.2)
irb (1.15.2)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.13.2)
json-schema (6.0.0)
json-schema (5.2.2)
addressable (~> 2.8)
bigdecimal (~> 3.1)
jwt (3.1.2)
Expand All @@ -198,7 +200,7 @@ GEM
net-smtp
marcel (1.0.4)
method_source (1.1.0)
metrics (0.14.0)
metrics (0.12.2)
mini_magick (5.3.1)
logger
mini_mime (1.1.5)
Expand All @@ -217,6 +219,8 @@ GEM
net-smtp (0.5.1)
net-protocol
nio4r (2.7.4)
nokogiri (1.18.9-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.9-x86_64-linux-gnu)
racc (~> 1.4)
os (1.1.4)
Expand Down Expand Up @@ -300,7 +304,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.5)
rubocop (1.80.1)
rubocop (1.80.2)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
Expand Down Expand Up @@ -339,7 +343,7 @@ GEM
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 4.0)
multi_json (~> 1.10)
simplecov (0.22.0)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
Expand All @@ -348,11 +352,12 @@ GEM
simplecov (~> 0.19)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
sqlite3 (2.7.3-arm64-darwin)
sqlite3 (2.7.3-x86_64-linux-gnu)
stringio (3.1.7)
thor (1.4.0)
timeout (0.4.3)
traces (0.18.1)
traces (0.15.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.1.5)
Expand All @@ -371,9 +376,10 @@ GEM
base64
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
zeitwerk (2.7.3)
zeitwerk (2.6.18)

PLATFORMS
arm64-darwin-23
x86_64-linux

DEPENDENCIES
Expand Down Expand Up @@ -410,4 +416,4 @@ DEPENDENCIES
webmock (~> 3.18)

BUNDLED WITH
2.6.9
2.3.26
2 changes: 1 addition & 1 deletion lib/ruby_llm/providers/bedrock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class Bedrock < Provider
include Bedrock::Streaming
include Bedrock::Models
include Bedrock::Signing
include Bedrock::Tools
include Bedrock::Media
include Anthropic::Tools
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should include Bedrock::Tools and have the proper methods in there


def api_base
"https://bedrock-runtime.#{@config.bedrock_region}.amazonaws.com"
Expand Down
Loading