feat: add config presets module for quick agent mode switching (#36)#38
Open
zsxh1990 wants to merge 1 commit into
Open
feat: add config presets module for quick agent mode switching (#36)#38zsxh1990 wants to merge 1 commit into
zsxh1990 wants to merge 1 commit into
Conversation
Add presets module that allows saving and loading configuration presets for quick switching between agent modes (Coder, Researcher, etc). Usage: /preset save coder - Save current config as coder preset /preset load coder - Load coder preset /preset list - List all presets /preset delete - Delete a preset Closes Rose22#36 Signed-off-by: zsxh1990 <zsxh1990@users.noreply.github.com>
Author
|
Hi — friendly check-in on the config presets module PR. It has been about 10 days since the last update. Happy to rebase or adjust. Thanks! |
Owner
|
this is so AI generated that it redacts sensitive info in the step where it saves the preset to disk, and then later on when merging the preset into the in-memory config. so basically you're destroying any saved usernames, passwords, keys, and tokens. that will cause total breakage, broken API connections, etcetera. the idea is nice, but this implementation won't do at all! also, you're breaking the AI usage policy. also, i have no reason to believe you're not an AI, considering your use of em dashes |
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.
What
Add a presets module that allows saving and loading configuration presets for quick switching between different agent modes.
Why
From #36: Users want to quickly switch between different settings presets (e.g., Coder, Researcher, Writer) without manually editing config.yaml each time.
How
New file:
modules/presets.pyFeatures
/preset save coder//preset load coder/preset list/preset delete coderStorage
Presets are stored as YAML files in
~/.openlumara/presets/:Usage
Closes #36
Signed-off-by: zsxh1990 zsxh1990@users.noreply.github.com