Skip to content

Releases: RockSolt/ruby_llm-test

Release 0.2.0: Expose Request Parameters for Verification

25 Apr 20:35
c29522a

Choose a tag to compare

This release exposes the request parameters that were sent to the LLM so that tests can make assertions against things like model and tool calls.

The minimum required version of RubyLLM has been relaxed to 1.5, and tests have been added across older versions of the gem to verify compatibility.

What's Changed

Full Changelog: v0.1.0...v0.2.0

Release 0.1.0: Test Your Code!

23 Apr 17:50
5f8e91e

Choose a tag to compare

This is the initial release. For use with the RubyLLM gem, this gem allows calls to LLM's to be stubbed easily, so you can test your application code.

RubyLLM::Test.stub_response("Outlook good")

chat = RubyLLM.chat
response = chat.ask "What are the odds this works?"

assert_equal "Outlook good", response.content