Hayden Johnson
fe4f739eb3
feat: improve input handling and add context length option
...
This commit introduces several improvements to the input handling process:
- Implemented `improved_input()` to handle multi-line input and prevent accidental sending of pasted content. The user signals completion by pressing Ctrl+D or entering two consecutive empty lines.
- Added a new command-line argument `--context` to allow users to specify the context length for the model.
- Updated the help message to reflect the new argument.
2025-04-10 20:21:17 -07:00
Hayden Johnson
d946938b3d
Made assistant history persist with cache file
2025-04-08 19:57:34 -07:00
Hayden Johnson
2237293e16
adjust shell command prompt
2025-04-08 13:22:27 -07:00
Hayden Johnson
70c129a448
increase default context size
2025-04-08 13:06:20 -07:00
Hayden Johnson
01e6a3ef75
change default model and add reasoning mode
2025-04-08 12:39:09 -07:00
Hayden Johnson
24c6625f30
Add import for guess_lexer function
2025-03-16 12:27:00 -07:00
Hayden Johnson
b2d66c2937
add requirements.txt
2025-03-16 12:10:15 -07:00
Hayden Johnson
e7446b1593
Change default python interpreter to local venv
2025-03-16 12:10:07 -07:00
Hayden Johnson
2436a59ed3
Add red coloring to assistant response
...
To better distinguish between the user's messages and the ai's messages,
the "assistant" label will be colored red
2024-12-19 08:13:47 -08:00
Hayden Johnson
f49142f04c
Add /clipboard command
...
clipboard contents can be added as context in the conversation now.
2024-10-01 13:25:30 -07:00
Hayden Johnson
0455b12d90
Add indicator in chat log for assistant responses
...
Now it is clear when the assistant responds in the terminal interface.
2024-10-01 13:00:32 -07:00
Hayden Johnson
dc772722d6
Add /save /clear and /exit commands
...
The save command takes an optional filename to save the conversation to.
the clear command clears the chat history.
2024-10-01 12:50:55 -07:00
Hayden Johnson
d074c97645
Add tracking of entire conversation
2024-10-01 11:52:31 -07:00
Hayden Johnson
0fb11b0691
Add initial framework for commands
2024-10-01 11:50:35 -07:00
Hayden Johnson
f6ec5cde2e
Update readme
2024-09-27 09:54:53 -07:00
Hayden Johnson
4ae07a97af
Fix default value for stream in chat2
2024-09-25 14:44:54 -07:00
Hayden Johnson
8007943581
Add reflection option
2024-09-25 14:33:14 -07:00
Hayden Johnson
c0a9377849
Fix issue with last line not being printed
2024-09-25 13:19:03 -07:00
Hayden Johnson
fb57930c69
Add README.md
2024-09-25 13:14:44 -07:00
Hayden Johnson
a69b63e4fe
Fix --host argument
2024-09-25 13:02:02 -07:00
Hayden Johnson
8deaa3b6e1
Add option to specify host
2024-09-25 12:54:27 -07:00
Hayden Johnson
f454e9e17b
Fix issue with double newlines in codeblocks
2024-09-25 12:44:28 -07:00
Hayden Johnson
b2f218639f
Update gitignore
2024-09-25 11:58:55 -07:00
Hayden Johnson
19f430e408
Add syntax highlighting to output
2024-09-25 11:56:48 -07:00
Hayden Johnson
63c38a371f
changed to localhost and updated system prompt
2024-09-25 10:26:05 -07:00
Hayden Johnson
65682cf598
feat: add temp flag
2024-09-03 02:38:36 -07:00
Hayden Johnson
46e626b288
Intial commit. Switch from OpenAI to Ollama module
2024-08-11 21:42:37 -07:00