Replace Raix with direct API client implementations#1
Merged
Conversation
- Changed required_ruby_version from 3.4.0 to 3.2.0 in gemspec - Restored CI testing for Ruby 3.2.6, 3.3.6, and 3.4.2 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Updated required_ruby_version to 3.3.0 in gemspec - Updated TargetRubyVersion to 3.3 in .rubocop.yml to match - Removed Ruby 3.2.6 from CI matrix - Fixed rubocop Gemspec/RequiredRubyVersion warning 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Updated job tests to work with MockRedis in CI environment - Changed from instance_double expectations to actual MockRedis usage - Added flushdb to ensure clean state between tests - All tests now pass in both local and CI environments 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Removed Dependencies
raixgem dependencyAdded Dependencies
ruby-openai(~> 7.0) - Official OpenAI Ruby clientanthropic(~> 0.3) - Official Anthropic Ruby clientopen_router(~> 0.3) - OpenRouter API clientNew Model Adapters
Desiru::Models::Anthropic- Direct integration with Anthropic's Claude APIDesiru::Models::OpenAI- Direct integration with OpenAI's API with dynamic model fetchingDesiru::Models::OpenRouter- Integration with OpenRouter for access to multiple modelsKey Features
Console Improvements
dotenvgem for loading environment variables from.envfile$predict,$cot) for quick experimentationdebug_callhelper to inspect raw LLM responsesUpdated Files
.env.exampleincludes OpenRouter configurationbin/consoleandbin/examplessupport all three providersRubocop Compliance
Testing
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com