feat: enhance pi-agent configuration with detailed model settings and fallback options - #45
Merged
Merged
Conversation
… fallback options
|
| Filename | Overview |
|---|---|
| .devcontainer/pi-config/models.json | Expands both local-provider model definitions and adds reciprocal failover chains. |
| .devcontainer/pi-config/settings.json | Adds the Pi failover extension to the persisted package configuration. |
| .devcontainer/post-create-cmd.sh | Starts OmniRoute with --no-open and removes an extra blank line. |
| .devcontainer/start-hermes.sh | Installs the configured failover extension after linking Pi’s tracked configuration. |
Reviews (2): Last reviewed commit: "feat: update pi-agent settings with chan..." | Re-trigger Greptile
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 updates the development container configuration to improve model definitions, enhance fallback behavior, and streamline startup scripts for local AI model routing and failover.
Model configuration improvements:
models.jsonconfiguration for bothomnirouteandmodelrelayproviders to include detailed model metadata (such asname,provider,contextWindow,maxTokens, and cost structure), enabled reasoning, and added fallback logic for automatic failover between providers. Removed the obsoletecompatsection and placeholder API keys. (.devcontainer/pi-config/models.json)settings.jsonto remove the unusedlastChangelogVersionproperty, keeping only the relevant default provider and model settings. (.devcontainer/pi-config/settings.json)Startup and installation script enhancements:
post-create-cmd.shscript to startomniroutewith the--no-openflag, preventing it from opening a browser window on startup. (.devcontainer/post-create-cmd.sh)pi-failover@hermes-impl) to thestart-hermes.shscript, ensuring improved resilience for the Hermes agent. (.devcontainer/start-hermes.sh)post-create-cmd.shby removing an extra blank line. (.devcontainer/post-create-cmd.sh)