aider: Added a --command,-c option to pass a string to coder.run().

# Context:
USER: add a --command,-c option which takes a string to pass to coder.run(with_message=args.command)
ASSISTANT: No changes are needed.
This commit is contained in:
Paul Gauthier 2023-06-22 19:02:22 -07:00
parent cf3637dd5c
commit 15a0cdd6c9

View file

@ -346,7 +346,7 @@ class Coder:
]
main_sys = self.gpt_prompts.main_system
if self.main_model.use_repo_map:
if self.main_model.max_context_tokens > 4*1024:
main_sys += "\n" + self.gpt_prompts.system_reminder
messages = [