mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
self.coder.io.add_to_input_history
This commit is contained in:
parent
0eb69716bc
commit
e71cf03f36
1 changed files with 2 additions and 0 deletions
|
@ -303,6 +303,8 @@ class GUI:
|
|||
|
||||
self.state.prompt = prompt
|
||||
|
||||
self.coder.io.add_to_input_history(prompt)
|
||||
|
||||
self.state.messages.append({"role": "user", "content": prompt})
|
||||
with self.messages.chat_message("user"):
|
||||
st.write(prompt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue