Skip to content

Commit eda8151

Browse files
committed
Add skipped specs for image embeddings to note for future support
1 parent 5aa271f commit eda8151

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

spec/ruby_llm/embeddings_spec.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,18 @@
4545
end
4646
end
4747
end
48+
49+
describe 'image embeddings' do
50+
EMBEDDINGS_MODELS.each do |model_info|
51+
model = model_info[:model]
52+
provider = model_info[:provider]
53+
54+
input_modalities = RubyLLM.models.find(model)&.modalities&.input
55+
next if input_modalities&.exclude?('image')
56+
57+
it "#{provider}/#{model} can handle a single image" do
58+
skip "Image embeddings for #{provider}/#{model} are not supported by RubyLLM yet."
59+
end
60+
end
61+
end
4862
end

0 commit comments

Comments
 (0)