Update ruby_llm gem as later versions now support Bedrock#14111
Update ruby_llm gem as later versions now support Bedrock#14111jamesspeake wants to merge 1 commit into
Conversation
|
There is a test failure as office document types are now supported by the LLM - need to understand what the desired behaviour should actually be for us. @adessy maybe we can discuss as I think you know most about this. Root cause: xlsx is now a supported attachment type - ruby_llm's attachment classifier gained a new :document category between your old pin (~1.12) and 1.16: Old pin (1.12-era): 1.16: DOCUMENT_EXTENSIONS = %w[doc docx dot key numbers odp ods odt pages pot pps ppt pptx rtf xls xlsx].freeze So david.xlsx now matches document? (via that extension list) and is classified as a :document instead of :unknown. ruby_llm no longer rejects it, so RubyLLM::UnsupportedAttachmentError is never raised — hence "nothing was raised." |
Noticed creating the local dev env was slow because we had pinned a git version of ruby_llm. So followed the advice of the comment in the code and changed it now that the releases support Bedrock as required.
Claude says: All releases are explicitly backward-compatible (1.16: "This release is backwards compatible"). The changes are additive or irrelevant to us:
Changelog
Technical