Implemented OpenRouter, added --requirements flag#55
Open
devicemanager wants to merge 3 commits intodhanji:mainfrom
Open
Implemented OpenRouter, added --requirements flag#55devicemanager wants to merge 3 commits intodhanji:mainfrom
devicemanager wants to merge 3 commits intodhanji:mainfrom
Conversation
- Implement OpenRouter provider with configuration options - Update .gitignore to exclude config.toml - Create CHANGELOG.md to document notable changes - Add OpenRouter configuration examples in config.example.toml - Enhance g3-core and g3-config to register and manage OpenRouter providers - Update g3-cli to support OpenRouter as a valid provider - Add integration tests for OpenRouter functionality, including basic completion and streaming
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.
Changelog.md
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[Unreleased] - 2025-12-16
Added
OpenRouterProviderimplementation incrates/g3-providers.OpenRouterConfigandProviderPreferencesConfigincrates/g3-config.crates/tests/openrouter_integration_tests.rs.g3-clito acceptopenrouteras a valid provider type in command line arguments.g3-coreto register and handle OpenRouter providers.config.example.toml.config.tomlto.gitignore.Changed
provider_max_tokensandresolve_max_tokensto correctly handle OpenRouter configuration and context window sizes (defaulting to 128k if not specified, but respecting config).openrouterprefix (e.g.,openrouter.grok).Fixed
anthropic.rsby renamingcache_configto_cache_config.llm.rsby renamingprint_status_lineto_print_status_line.openrouter.rs(pub mode->pub mod).