Commit Graph

33 Commits

Author SHA1 Message Date
geoffsee
3cf7ceb868 Handle cases with missing id in messages, improve index lookup logic, and refactor save handler. 2025-05-31 18:48:55 -04:00
geoffsee
580f361457 checkpoint 2025-05-31 18:48:55 -04:00
geoffsee
9e6ef975a9 saves a message 2025-05-31 18:48:55 -04:00
geoffsee
810846bb3c Message editing actually works. Tests broken. 2025-05-31 18:48:55 -04:00
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
5f913eb2d7 follow mode actually works 2025-05-31 18:48:55 -04:00
geoffsee
6bdce23137 add tests for ChatInput.tsx 2025-05-31 18:48:55 -04:00
geoffsee
acb466c383 Ensure stopIncomingMessage disables follow mode; add relevant test cases. 2025-05-31 18:48:55 -04:00
geoffsee
1819f863a0 add ClientChatStore tests 2025-05-31 18:48:55 -04:00
geoffsee
0bb4d6e11c add tests for ModelStore and MessagesStore 2025-05-31 18:48:55 -04:00
geoffsee
0509583910 add stream tests 2025-05-31 18:48:55 -04:00
geoffsee
87dd00fece add ui store tests 2025-05-31 18:48:55 -04:00
geoffsee
df6e18bbdf Refactor ClientChatStore into separate stores for modularity and improve maintainability. 2025-05-31 18:48:55 -04:00
geoffsee
ebbfd4d31a adds more tests 2025-05-31 18:48:55 -04:00
geoffsee
f07c19dae8 init test suite 2025-05-29 21:32:12 -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
4034f31b20 Add link to geoff.seemueller.io in Sidebar 2025-05-28 22:59:36 -04:00
geoffsee
f06fd073d5 update window title 2025-05-28 22:55:23 -04:00
geoffsee
3f717fab1b - Update default model to meta-llama/llama-4-scout-17b-16e-instruct in ClientChatStore
- Revise deployment steps and docs for `GROQ_API_KEY`
- Enable `workers_dev` in `wrangler.jsonc`
- Adjust hero label to `open-gsio` in routes
- Update `.gitignore` to include sensitive config files
- Add `deploy:secrets` script in `package.json`
2025-05-28 21:33:34 -04:00
geoffsee
5cb5905125 Fix incorrect conditional padding logic in Chat component 2025-05-28 20:46:27 -04:00
geoffsee
fb7031fc89 **Migrate from TOML to JSON configuration for workers**
Replaced Wrangler TOML files with JSON configuration for email and analytics workers, updating compatibility dates and maintaining existing settings. Updated email metadata and replaced hardcoded email addresses with example addresses for better abstraction. Adjusted deployment scripts in `package.json` to align with the new worker structure.
2025-05-27 15:15:45 -04:00
geoffsee
c99068ecb4 Remove IntermediateStep model
The IntermediateStep model was deleted as it is no longer used or required in the codebase. This simplifies the project structure and removes unnecessary dependencies.
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
d90ab65b04 Remove MDXEditor theme styles and unused attachments parameter
Eliminated the MDXEditor styles from the base theme as they are not in use. Also removed the unused "attachments" parameter from the xai model configuration for cleaner and more maintainable code.
2025-05-27 15:15:45 -04:00
geoffsee
47272ba350 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
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
18ba4aec21 Update resume data and clean up welcome text
Revised job history in `resume_data.ts` to remove duplicate roles and update company details. Streamlined and updated links in `welcome_home_text.ts` for better clarity and alignment with current references.
2025-05-27 15:15:45 -04:00
geoffsee
d519534c7d Refactor store exports and cleanup unused code.
Removed the centralized store export file to streamline dependencies and replaced indirect imports with direct ones for better maintainability. Additionally, eliminated unused views in `ClientChatStore` and commented out redundant code in the assistant SDK.
2025-05-27 15:15:45 -04:00
geoffsee
9c7ad7724b fix build 2025-05-23 16:10:41 -04:00
geoffsee
fe51876e89 Remove commented-out code and update configurations
Deleted unused or commented-out code across multiple files to improve clarity and maintainability. Updated `kv_namespaces` in `wrangler.toml` and specified the package manager in `package.json`. Add placeholder values for development kv stores.
2025-05-23 14:36:35 -04:00
geoffsee
33679583af init 2025-05-22 23:14:01 -04:00