-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
Description
As suggested by https://news.ycombinator.com/item?id=41139049 the terminal history should be sanitized before sending to LLM backend. This can be done with a pre llm hook.
Code for reference: https://github.com/closedloop-technologies/autocomplete-sh/blob/1bd533a22379f2ebf0e1f31c39b11b8b2089a510/autocomplete.sh#L149
Will a heoristic sanitizer be easy and worth to inplement?