Skip to content

Commit 7b4c44e

Browse files
committed
Fix bug that broke ListModels
1 parent 85d8330 commit 7b4c44e

File tree

8 files changed

+269
-176
lines changed

8 files changed

+269
-176
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.0.11] - 2025-03-06
2+
3+
- Fix bug that broke ListModels
4+
- Change default model to Claude 3.7
5+
16
## [0.0.10] - 2025-03-05
27

38
- Do not require all 3 services to function. Let user require which services they want to use.

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ group :development do
1919
end
2020

2121
group :development, :test do
22+
gem "foobara-anthropic-api"
23+
gem "foobara-ollama-api"
24+
gem "foobara-open-ai-api" # , path: "../open-ai-api"
2225
gem "pry"
2326
gem "pry-byebug"
2427
# TODO: Just adding this to suppress warnings seemingly coming from pry-byebug. Can probably remove this once

Gemfile.lock

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
foobara-ai (0.0.10)
4+
foobara-ai (0.0.11)
55

66
GEM
77
remote: https://rubygems.org/
@@ -58,9 +58,14 @@ GEM
5858
bigdecimal
5959
foobara-lru-cache
6060
foobara-util
61+
foobara-anthropic-api (0.0.10)
62+
foobara-cached-command
63+
foobara-http-api-command
6164
foobara-autocrud-generator (0.0.1)
6265
foobara
6366
foobara-files-generator
67+
foobara-cached-command (0.0.2)
68+
foobara
6469
foobara-command-generator (0.0.3)
6570
foobara
6671
foobara-files-generator
@@ -81,10 +86,17 @@ GEM
8186
foobara-files-generator
8287
foobara-files-generator (0.0.5)
8388
foobara
89+
foobara-http-api-command (0.0.9)
90+
foobara
8491
foobara-local-files-crud-driver-generator (0.0.3)
8592
foobara
8693
foobara-files-generator
8794
foobara-lru-cache (0.0.2)
95+
foobara-ollama-api (0.0.4)
96+
foobara-http-api-command
97+
foobara-open-ai-api (0.0.12)
98+
foobara-cached-command
99+
foobara-http-api-command
88100
foobara-organization-generator (0.0.2)
89101
foobara
90102
foobara-files-generator
@@ -106,7 +118,7 @@ GEM
106118
foobara-rubocop-rules (0.0.7)
107119
rubocop
108120
rubocop-rspec
109-
foobara-sh-cli-connector (0.0.10)
121+
foobara-sh-cli-connector (0.0.12)
110122
foobara
111123
foobara-sh-cli-connector-generator (0.0.3)
112124
foobara
@@ -262,7 +274,10 @@ PLATFORMS
262274
DEPENDENCIES
263275
foob
264276
foobara-ai!
277+
foobara-anthropic-api
265278
foobara-dotenv-loader
279+
foobara-ollama-api
280+
foobara-open-ai-api
266281
foobara-rubocop-rules
267282
foobara-spec-helpers
268283
guard-rspec

spec/support/cached_command.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
RSpec.configure do |config|
2+
cleanup = proc do
3+
Foobara::CachedCommand.cache.clear
4+
5+
if File.exist?("tmp/cached_command")
6+
FileUtils.rm_r("tmp/cached_command")
7+
end
8+
end
9+
10+
config.before(:suite, &cleanup)
11+
config.after(:each, &cleanup)
12+
end

0 commit comments

Comments
 (0)