Feature/327 replace the genai implementation with rig#376
Merged
felix-schultz merged 8 commits intodevfrom Nov 13, 2025
Merged
Conversation
…f these types in the nodes and core of the project!
- Renamed HuggingfaceModel to OpenRouterModel and updated its implementation to use OpenRouter API. - Introduced PerplexityModel, TogetherModel, VoyageAIModel, and XAIModel with similar structure and functionality. - Added new configuration structs for various providers including Cohere, Perplexity, Groq, Together, OpenRouter, Deepseek, Mistral, VoyageAI, Ollama, Hyperbolic, Moonshot, Galadriel, Mira, and XAI. - Enhanced response handling by implementing conversions between ResponseMessage and RigMessage. - Added utility methods in ResponseChunk for better handling of streamed responses and tool calls. - Updated rig_conversion to handle additional content types.
…ration and testing
- Updated LLM trait to include additional parameters and history transformation methods. - Implemented invoke methods for LLM models to handle streaming and non-streaming responses. - Introduced specific handling for Gemini model to transform data URLs to base64. - Refactored various model implementations (Deepseek, Galadriel, Hyperbolic, Mira, Mistral, Moonshot, Together, VoyageAI, XAI) to use their respective clients instead of OpenAI. - Enhanced response handling in response and response_chunk modules to include reasoning and improved chunk creation methods. - Updated Cargo.toml to use workspace feature for async-trait.
…orts and simplifying code structure
…or improved performance and clarity
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.
This pull request introduces several improvements and updates to dependency management and JSON schema definitions for desktop and macOS configurations. The most notable changes are grouped below by theme.
Schema Enhancements for Opener APIs and Shell Commands:
desktop-schema.jsonandmacOS-schema.jsonby ensuring theurlandpathproperties are correctly described and positioned, clarifying their usage and allowed patterns. [1] [2] [3] [4]nameandcmdproperties, improving clarity and maintainability for allowed shell commands. [1] [2] [3] [4] [5] [6]ShellScopeEntryAllowedArgsandShellScopeEntryAllowedArgdefinitions, including improved descriptions and regex validation options for command arguments. [1] [2]Dependency Updates and Additions:
schemarscrate to version 1.1.0 with thepreserve_orderfeature inCargo.toml, which may improve JSON schema generation and compatibility.rig-core,async-trait, andjsonschematoCargo.tomlto support extended functionality and async traits.async-traitusage inapps/desktop/src-tauri/Cargo.tomlto use the workspace version, ensuring consistency across the project.