You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What problem or use case are you trying to solve?
Allow the user to add and remove files from the chat context window similar to the behavior that aider uses. When a file is added, then the file and all added files are included in the chat sessions with the LLM.
Describe the UX of the solution you'd like
The way aider implements this is with /add and /drop commands. Maybe supporting a command line syntax would be good. Alternatively, files could be added or removed from the file browser UX.
Do you have thoughts on the technical implementation?
When files are added or removed, add them to a file list that is stored in memory. Before doing a chat completion, read the files from the workspace and send them over to the LLM. I'm not sure the best format to send over the files, but something like the following would probably work.
dir1/file1.py
file1 contents
dir2/file2.py
file2 contents
Describe alternatives you've considered
Alternatively, this could be hooked into the current memory infrastructure to add or remove file contents from memory.
What problem or use case are you trying to solve?
Allow the user to add and remove files from the chat context window similar to the behavior that aider uses. When a file is added, then the file and all added files are included in the chat sessions with the LLM.
Describe the UX of the solution you'd like
The way aider implements this is with /add and /drop commands. Maybe supporting a command line syntax would be good. Alternatively, files could be added or removed from the file browser UX.
Do you have thoughts on the technical implementation?
When files are added or removed, add them to a file list that is stored in memory. Before doing a chat completion, read the files from the workspace and send them over to the LLM. I'm not sure the best format to send over the files, but something like the following would probably work.
dir1/file1.py
dir2/file2.py
Describe alternatives you've considered
Alternatively, this could be hooked into the current memory infrastructure to add or remove file contents from memory.
Additional context
https://github.com/paul-gauthier/aider?tab=readme-ov-file#in-chat-commands
The text was updated successfully, but these errors were encountered: