-
Notifications
You must be signed in to change notification settings - Fork 22
Optimization effort #978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Optimization effort #978
Conversation
PR Reviewer Guide 🔍(Review updated until commit 3e20a37)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 3e20a37
Previous suggestionsSuggestions up to commit 1018a69
|
|
Persistent review updated to latest commit 3e20a37 |
User description
fixes CF-938
PR Type
Enhancement
Description
Introduce effort-based optimization controls
Replace fixed constants with dynamic effort values
Add CLI flag for effort selection
Align API payload keys and defaults
Diagram Walkthrough
File Walkthrough
aiservice.py
Align API payload keys and candidate defaultscodeflash/api/aiservice.py
n_candidatesandn_candidates_lpcli.py
Add CLI effort level optioncodeflash/cli_cmds/cli.py
--effortCLI flagconfig_consts.py
Introduce effort-based configuration systemcodeflash/code_utils/config_consts.py
EffortLevel,EffortKeys, and values mapget_effort_valuehelpergit_utils.py
Remove worktree utilities and tidy importscodeflash/code_utils/git_utils.py
function_optimizer.py
Apply effort-based tuning throughout optimizercodeflash/optimization/function_optimizer.py
get_effort_valueacross flows