Commit Graph

12 Commits

Author SHA1 Message Date
geoffsee
ce07b69fbe Add unit tests for MessageEditorComponent, update message editing logic, and refactor ChatService model handling.
- Added comprehensive tests for `MessageEditorComponent`.
- Improved message editing functionality and added client store interactions.
- Refactored handling of `getSupportedModels` in `ChatService`.
- Updated PWA configuration and added a Safari-specific instruction.
- Adjusted `.dev.vars` file to reflect local development updates.
2025-05-31 18:48:55 -04:00
geoffsee
246b673111 Fixes "Method not implemented" error caused by faulty optional chaining of env.OPENAI_API_ENDPOINT
- Disable unsupported model groups and improve OpenAI endpoint checks.
- Upgrade wrangler
2025-05-29 20:17:34 -04:00
geoffsee
cc0da17b5f - Add killport.js script for terminating processes on specific ports
- Introduce `supportedModels` in `ClientChatStore` and update model validation logic
- Enhance OpenAI inferencing with local setup adaptations and improved streaming options
- Modify ChatService to handle local and remote model fetching
- Update input menu to dynamically fetch and display supported models
- Add start_inference_server.sh for initiating local inference server
- Upgrade OpenAI SDK to v5.0.1 and adjust dependencies accordingly
2025-05-29 20:17:34 -04:00
geoffsee
335e8eff11 Refactor: Relocate SDK files to lib and update imports
Moved all SDK files from the `sdk` directory to the `lib` directory to better align with project structure. Updated all associated import paths across the codebase to reflect this change. Removed unused or commented-out code in `SiteCoordinator.js` for better clarity and maintainability.
2025-05-27 15:15:45 -04:00
geoffsee
fc22278b58 Remove unused services and refactor SDK structure
Deleted outdated SDKs and services, including DocumentService and markdown-sdk. Consolidated and relocated SDKs into a unified "providers" structure to improve maintainability. Updated imports and adjusted utils naming for consistency.
2025-05-27 15:15:45 -04:00
geoffsee
ceeefeff14 Remove unused components and assets from the project
Deleted unused components (Attachments, CustomMarkdownRenderer, EnableSearchButton, FlyoutSubMenu) and associated styles (katex.css) to streamline the codebase. This cleanup helps reduce technical debt and improve project maintainability.
2025-05-27 15:15:45 -04:00
geoffsee
c04e19611e Remove file upload functionality and related components
The `FileUploadStore` and all file upload features were removed, simplifying the chat interface. This change eliminates unused code, including file handling logic, attachment management, and UI elements, streamlining the application.
2025-05-27 15:15:45 -04:00
geoffsee
afd539a245 Remove preprocessing workflow and related operators
This commit removes the preprocessing workflow, its operators, intent service, and associated functionality. Additionally, redundant logging and unnecessary comments have been cleaned up in the ChatService for better readability and maintainability.
2025-05-27 15:15:45 -04:00
geoffsee
f8bf65603c Refactor webhook processing to agent-focused architecture
Renames functions and variables to use "agent" terminology instead of "webhook" for consistency with updated architecture. Removes unused preprocessing workflows and streamlines the ChatSdk code. This improves code clarity and aligns naming with system functionality.
2025-05-27 15:15:45 -04:00
geoffsee
42f171ac05 reintroduce updated streaming pattern 2025-05-23 16:35:54 -04:00
geoffsee
9c7ad7724b fix build 2025-05-23 16:10:41 -04:00
geoffsee
33679583af init 2025-05-22 23:14:01 -04:00