Commit Graph

3 Commits

Author SHA1 Message Date
2461b42e40 Improved end-of-session handling
Rather than explicitly checking to see if the user
was typing a shell exit command, the LLM is now
instructed to provide a specific token starting
("XXX-END-OF-SESSION-XXX") to indicate that the
session should be closed. This allows the user to
exit the shell in any way they see fit, and the
LLM will still know when to end the session. It
also means that typing 'exit' or similar commands
to subshells or command interpreters (e.g. Python)
are less likely to cause the session to end.
2024-08-23 15:28:42 -04:00
656872ab2c Initial SSH emulation prompt. 2024-08-20 09:17:19 -04:00
eb4a67f094 Added a couple of conveniences:
* Moved the system prompt to its own file
* Added 'exit/logout/quit' support to realistically end the SSH session.
2024-08-15 16:50:42 -04:00