Commit Graph

62 Commits

Author SHA1 Message Date
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
Geoff Seemueller
33baf588b6 Update README.md
Signed-off-by: Geoff Seemueller <28698553+geoffsee@users.noreply.github.com>
2025-05-30 10:03:52 -04:00
geoffsee
4fbf120710 update badges 2025-05-29 21:54:52 -04:00
geoffsee
d3b11eb22f supply fonts at build-time 2025-05-29 21:47:41 -04:00
geoffsee
32339f3f18 add test workflow for ci 2025-05-29 21:47:08 -04:00
geoffsee
f07c19dae8 init test suite 2025-05-29 21:32:12 -04:00
geoffsee
84b0ea0307 add PWA plugin 2025-05-29 21:02:54 -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
Geoff Seemueller
c9ee7c7690 Update README.md 2025-05-28 23:46:00 -04:00
Geoff Seemueller
922e5983e6 Update README.md 2025-05-28 23:41:56 -04:00
Geoff Seemueller
c17a2b1504 Update README.md
Signed-off-by: Geoff Seemueller <28698553+geoffsee@users.noreply.github.com>
2025-05-28 23:19:11 -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
887b5fc7f4 Remove redundant build step from Quickstart instructions in README.
`bun run server:dev` automatically builds the client
2025-05-28 22:10:16 -04:00
geoffsee
534edca8fb update sitemap generation 2025-05-28 22:06:54 -04:00
geoffsee
db5137e772 Add dynamic robots.txt generation and update sitemap handling
- Remove static robots.txt file.
- Implement dynamic robots.txt generator script (`generate_robots_txt.js`) to allow hostname flexibility.
- Update sitemap generation script to also use dynamic hostname from arguments.
- Modify Vite config to include automated generation of both sitemap and robots.txt during build.
- Add `public/robots.txt` to `.gitignore`.
2025-05-28 22:04:28 -04:00
geoffsee
82ba490dae bump compatibility date 2025-05-28 21:42:24 -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
Geoff Seemueller
4928b6c2a2 Update README.md
Signed-off-by: Geoff Seemueller <28698553+geoffsee@users.noreply.github.com>
2025-05-27 16:21:46 -04:00
geoffsee
46b912ba93 Add session-proxy worker and deploy-all script
Introduce a new `session-proxy` worker with its configuration file. Update deployment scripts to include `deploy:session-proxy` and add a `deploy:all` script for streamlined deployment of all workers. Expand README with deployment instructions and usage of `pnpm` as an alternative to `bun`.
2025-05-27 15:15:45 -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
d0d55f58a6 Refactor context handling and migrate Wrangler config format.
Replaces `createServerContext` with `createRequestContext` for clarity and consistency across the application. Migrates `wrangler.toml` to `wrangler.jsonc` for improved configuration management and compatibility. Updates related files to align with the new context model and configuration structure.
2025-05-27 15:15:45 -04:00
geoffsee
6ce22d8ef2 Refactor dependencies to devDependencies in package.json
Moved several libraries including @anthropic-ai/sdk and @babel-related packages from dependencies to devDependencies in package.json and bun.lock. This reduces the production bundle size by excluding unnecessary build-time dependencies.
2025-05-27 15:15:45 -04:00
geoffsee
139b6e4d58 Optimize build script and remove unused dependencies.
Updated the `build` script in `package.json` to invoke `server:build` instead of `worker:build`. Removed redundant dependencies from `bun.lock` to clean up the project and reduce package bloat.
2025-05-27 15:15:45 -04:00
geoffsee
2ed0c5e280 Remove deprecated image generation and rate limiting services
This commit removes the image-generation-service and rate-limiter workers along with their corresponding configurations, scripts, and dependencies. These services are no longer required, streamlining the project's codebase and reducing maintenance overhead.
2025-05-27 15:15:45 -04:00
geoffsee
fb41f5f816 Remove unused scripts and rename sitemap generation script
Deleted obsolete scripts `check-analytics.js`, `get_groq_models.js`, and `killport.js` to clean up the codebase. Renamed `gen_sitemap.js` to `generate_sitemap.js` for better readability and consistency.
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
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
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
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
0d20d1367a remove invalid import 2025-05-23 16:28:33 -04:00
geoffsee
7c53666c39 reintroduce proxy 2025-05-23 16:27:44 -04:00
Geoff Seemueller
68f1c67773 Update README.md
Signed-off-by: Geoff Seemueller <28698553+geoffsee@users.noreply.github.com>
2025-05-23 16:24:24 -04:00