Commit graph

4 commits

Author SHA1 Message Date
Hayden Johnson 399f1b1aca update default model for refactored version 2025-04-29 16:30:29 -07:00
Hayden Johnson 4d6e431563 feat: Refactor code and add clipboard functionality
This commit introduces several improvements and new features to the AI Assistant:

- **Refactored code:** Improved code structure and readability.
- **Added clipboard functionality:** Implemented a `/copy` command to copy code blocks to the clipboard.
- **Improved command parsing:** Added a `/copy` command to copy code blocks to the clipboard.
- **Enhanced error handling:** Added error handling for clipboard operations.
- **Improved documentation:** Updated documentation to reflect changes.
2025-04-29 16:24:58 -07:00
Hayden Johnson c0d83584c7 add back highlighting into refactored version 2025-04-26 14:20:58 -07:00
Hayden Johnson 96ffcae953 feat: Begin refactor into class structure
This commit introduces a significant refactor of the AI assistant's codebase, transitioning from a procedural approach to an object-oriented design. This change improves modularity, maintainability, and extensibility.

Key changes include:

- Introduction of classes: AIAssistant, CommandLineParser, InputHandler, and CommandParser.
- Encapsulation of core functionality within the AIAssistant class.
- Improved input handling with separation of interactive and piped input.
- Implementation of command parsing for actions like saving, clearing, and exiting.
- Refactored history management for persistent conversation storage.
2025-04-10 22:19:01 -07:00