mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
fix: Update prompt cache keepalive configuration
This commit is contained in:
parent
a5c283d7c8
commit
88195c4323
3 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
### main branch
|
### main branch
|
||||||
|
|
||||||
- Prompt cache warming, via `--cache-warming-pings`.
|
- Prompt cache keepalives, via `--cache-keepalive-pings`.
|
||||||
- You can now bulk accept/reject a series of add url and run shell confirmations.
|
- You can now bulk accept/reject a series of add url and run shell confirmations.
|
||||||
- Improved matching of filenames from S/R blocks with files in chat.
|
- Improved matching of filenames from S/R blocks with files in chat.
|
||||||
- Stronger prompting for Sonnet to make edits in code chat mode.
|
- Stronger prompting for Sonnet to make edits in code chat mode.
|
||||||
|
|
|
@ -214,10 +214,10 @@ def get_parser(default_config_files, git_root):
|
||||||
help="Enable caching of prompts (default: False)",
|
help="Enable caching of prompts (default: False)",
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--cache-warming-pings",
|
"--cache-keepalive-pings",
|
||||||
type=int,
|
type=int,
|
||||||
default=0,
|
default=0,
|
||||||
help="Number of times to ping every 5min to keep prompt cache warm (default: 0)",
|
help="Number of times to ping at 5min intervals to keep prompt cache warm (default: 0)",
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--map-multiplier-no-files",
|
"--map-multiplier-no-files",
|
||||||
|
|
|
@ -543,7 +543,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
map_refresh=args.map_refresh,
|
map_refresh=args.map_refresh,
|
||||||
cache_prompts=args.cache_prompts,
|
cache_prompts=args.cache_prompts,
|
||||||
map_mul_no_files=args.map_multiplier_no_files,
|
map_mul_no_files=args.map_multiplier_no_files,
|
||||||
num_cache_warming_pings=args.cache_warming_pings,
|
num_cache_warming_pings=args.cache_keepalive_pings,
|
||||||
)
|
)
|
||||||
except ValueError as err:
|
except ValueError as err:
|
||||||
io.tool_error(str(err))
|
io.tool_error(str(err))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue