mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
add a user message during --show-prompts
This commit is contained in:
parent
5bd875ffbf
commit
48fd67485c
2 changed files with 4 additions and 1 deletions
|
@ -342,6 +342,9 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
coder.show_announcements()
|
||||
|
||||
if args.show_prompts:
|
||||
coder.cur_messages += [
|
||||
dict(role="user", content="Hello!"),
|
||||
]
|
||||
messages = coder.format_messages()
|
||||
utils.show_messages(messages)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue