Skip to content

Commit 8a3a52b

Browse files
committed
Trying to fix ci errors
1 parent 398ef9b commit 8a3a52b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/ruby_llm/models_local_refresh_spec.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@
9191

9292
describe 'local provider model resolution' do
9393
it 'assumes model exists for Ollama without warning after refresh' do
94+
allow(described_class).to receive_messages(fetch_provider_models: {
95+
models: [],
96+
fetched_providers: [],
97+
configured_names: [],
98+
failed: []
99+
}, fetch_models_dev_models: { models: [], fetched: true })
100+
94101
allow_any_instance_of(RubyLLM::Providers::Ollama).to( # rubocop:disable RSpec/AnyInstance
95102
receive(:list_models).and_return([
96103
RubyLLM::Model::Info.new(

0 commit comments

Comments
 (0)