-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce no anonymous users #133
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
VVoruganti
added a commit
that referenced
this pull request
Dec 20, 2023
* 0.5.1 (#132) * Tracing (#60) * Tracing to separate conversations * Basic Postgres Connection via Supabase * MVP Postgres Backed Chat Message History * Full binary install or psycopg3 * Use Supabase directly to avoid issues with postgres connections * .env.template update * 0.3.0 Long Term Memory (#62) * Add reply to discord and limit chat history to 10 messages * reverse returned messages and cleanup comments * Update changelog * increase cache limit * Switch to Azure OpenAI * Changelog * fix: update link to more recent blog post * Sanitize thoughts before sending them in the thought's channel (#65) * LayeredLRU Cache (#69) * Make BloomChain a static class * MVP Layered LRU Cache using Postgres * Remove testing variables * Async Mutex Lock on Cache * Stateless bug (#70) * Dynamic model switching * Fix hardcoding and add recovery logic for conversation tables * Add support for multiple conversations * Fix merge errors * Fix merge errors 2 * fix: top_p 0.5 to address gibberish * Custom Web UI (#76) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Fix Github Action Workflow * Fix Github Action Workflow * add user prediction function * Honcho Changes (#77) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml * Honcho Stream * Honcho Stream --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Social Graph Changes * Authentication Form Styling * Working Auth * Stylistic changes * Address all linting errors * Naive Route Protection * Fly minimum machines * Open Graph Image Changes * Remove anonymous honcho usage, fix opengraph (#80) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * UI tweaks (#81) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * UI tweaks (#82) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Open Graph Fix * Remove Streamlit * UI tweaks (#84) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Remove native prompts for sweetalert * Changelog * Remove Honcho for discord * Web fixes (#89) * seperation between sidebar and window + formatting * make app pwa downloadable * move to new chat on button press * remove router * feat: Refactor code to use MarkdownWrapper component - Refactored the code in the `Home` component to replace usages of `ReactMarkdown` and `SyntaxHighlighter` with the new `MarkdownWrapper` component. - Updated the `Home` component to pass the `text` prop to the `MarkdownWrapper` component for each message. - Added a new component `MarkdownWrapper` to handle rendering markdown text with syntax highlighting. - Removed unused imports from the `page.tsx` file, including `ReactMarkdown`, `SyntaxHighlighter`, and `dark` styles. - Also removed unused imports from the `sidebar.tsx` file, including `useState` import. * Optimization (#96) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Optimization (#98) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Sentry & Posthog integration on web * Linting Errors * add latex support and incentive it (#104) * prevent unallowed messages (#111) * implement autoscroll (#112) * implement autoscroll Refactored imports in "page.tsx" to improve readability and maintainability. Updated the type of the "input" ref to be more specific. Added a new state and ref to track the scroll position of the message container. Set up an event listener to update the state when the scroll position changes. Made adjustments to the scroll position in certain event handlers. * update scroll --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ add multiline support (#118) * ♻️ refactor all of the api stuff (#119) * ♻️ refactor all of the api stuff a redo of the old refactor branch, but cleaner. moved all api calls to api.ts and supabase.ts * Minor Bug Fixes - Add `build-essential` to dockerfile - Fix signin button size - Add await for signout - Force re-render on conversation name change --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ implement dark mode (#120) automatically check for system mode manual control via animated thingy Co-authored-by: Vineeth Voruganti <[email protected]> * Documentation (#121) * README update and start of supabase plus making next buildable * Supabase Local Setup and README additions * Update web .env template and note on supabase local auth * Force redirect for unauthenticated and add posthog events (#122) * Update version * Static banner * ✨ caching and skeletons (#127) * Revert "✨ caching and skeletons (#127)" This reverts commit 15e649e. * Http error handling (#129) * upgrade openai and langchain Co-authored-by: Jacob Vanmeter <[email protected]> * extend supabase timeout * Handle moderation errors + other streaming errors explicitly * Streaming error handling * ✨ caching and skeletons (#127) * Revert "✨ caching and skeletons (#127)" This reverts commit 15e649e. --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ caching and skeletons 2 (#130) * ✨ caching and skeletons * 🐛 fix the swr revalidation errors * 💄 fix dark mode typing indicator * Changelogs (#131) * Tutor-GPT 0.5.0 (#124) * Tracing (#60) * Tracing to separate conversations * Basic Postgres Connection via Supabase * MVP Postgres Backed Chat Message History * Full binary install or psycopg3 * Use Supabase directly to avoid issues with postgres connections * .env.template update * 0.3.0 Long Term Memory (#62) * Add reply to discord and limit chat history to 10 messages * reverse returned messages and cleanup comments * Update changelog * increase cache limit * Switch to Azure OpenAI * Changelog * fix: update link to more recent blog post * Sanitize thoughts before sending them in the thought's channel (#65) * LayeredLRU Cache (#69) * Make BloomChain a static class * MVP Layered LRU Cache using Postgres * Remove testing variables * Async Mutex Lock on Cache * Stateless bug (#70) * Dynamic model switching * Fix hardcoding and add recovery logic for conversation tables * Add support for multiple conversations * Fix merge errors * Fix merge errors 2 * fix: top_p 0.5 to address gibberish * Custom Web UI (#76) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Fix Github Action Workflow * Fix Github Action Workflow * add user prediction function * Honcho Changes (#77) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml * Honcho Stream * Honcho Stream --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Social Graph Changes * Authentication Form Styling * Working Auth * Stylistic changes * Address all linting errors * Naive Route Protection * Fly minimum machines * Open Graph Image Changes * Remove anonymous honcho usage, fix opengraph (#80) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * UI tweaks (#81) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * UI tweaks (#82) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Open Graph Fix * Remove Streamlit * UI tweaks (#84) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Remove native prompts for sweetalert * Changelog * Remove Honcho for discord * Web fixes (#89) * seperation between sidebar and window + formatting * make app pwa downloadable * move to new chat on button press * remove router * feat: Refactor code to use MarkdownWrapper component - Refactored the code in the `Home` component to replace usages of `ReactMarkdown` and `SyntaxHighlighter` with the new `MarkdownWrapper` component. - Updated the `Home` component to pass the `text` prop to the `MarkdownWrapper` component for each message. - Added a new component `MarkdownWrapper` to handle rendering markdown text with syntax highlighting. - Removed unused imports from the `page.tsx` file, including `ReactMarkdown`, `SyntaxHighlighter`, and `dark` styles. - Also removed unused imports from the `sidebar.tsx` file, including `useState` import. * Optimization (#96) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Optimization (#98) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Sentry & Posthog integration on web * Linting Errors * add latex support and incentive it (#104) * prevent unallowed messages (#111) * implement autoscroll (#112) * implement autoscroll Refactored imports in "page.tsx" to improve readability and maintainability. Updated the type of the "input" ref to be more specific. Added a new state and ref to track the scroll position of the message container. Set up an event listener to update the state when the scroll position changes. Made adjustments to the scroll position in certain event handlers. * update scroll --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ add multiline support (#118) * ♻️ refactor all of the api stuff (#119) * ♻️ refactor all of the api stuff a redo of the old refactor branch, but cleaner. moved all api calls to api.ts and supabase.ts * Minor Bug Fixes - Add `build-essential` to dockerfile - Fix signin button size - Add await for signout - Force re-render on conversation name change --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ implement dark mode (#120) automatically check for system mode manual control via animated thingy Co-authored-by: Vineeth Voruganti <[email protected]> * Documentation (#121) * README update and start of supabase plus making next buildable * Supabase Local Setup and README additions * Update web .env template and note on supabase local auth * Force redirect for unauthenticated and add posthog events (#122) * Update version * Static banner --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> * Changelogs --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> * Enforce no anonymous users (#133) --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]>
VVoruganti
added a commit
that referenced
this pull request
Dec 20, 2023
* Tracing (#60) * Tracing to separate conversations * Basic Postgres Connection via Supabase * MVP Postgres Backed Chat Message History * Full binary install or psycopg3 * Use Supabase directly to avoid issues with postgres connections * .env.template update * 0.3.0 Long Term Memory (#62) * Add reply to discord and limit chat history to 10 messages * reverse returned messages and cleanup comments * Update changelog * increase cache limit * Switch to Azure OpenAI * Changelog * fix: update link to more recent blog post * Sanitize thoughts before sending them in the thought's channel (#65) * LayeredLRU Cache (#69) * Make BloomChain a static class * MVP Layered LRU Cache using Postgres * Remove testing variables * Async Mutex Lock on Cache * Stateless bug (#70) * Dynamic model switching * Fix hardcoding and add recovery logic for conversation tables * Add support for multiple conversations * Fix merge errors * Fix merge errors 2 * fix: top_p 0.5 to address gibberish * Custom Web UI (#76) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Fix Github Action Workflow * Fix Github Action Workflow * add user prediction function * Honcho Changes (#77) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml * Honcho Stream * Honcho Stream --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Social Graph Changes * Authentication Form Styling * Working Auth * Stylistic changes * Address all linting errors * Naive Route Protection * Fly minimum machines * Open Graph Image Changes * Remove anonymous honcho usage, fix opengraph (#80) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * UI tweaks (#81) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * UI tweaks (#82) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Open Graph Fix * Remove Streamlit * UI tweaks (#84) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Remove native prompts for sweetalert * Changelog * Remove Honcho for discord * Web fixes (#89) * seperation between sidebar and window + formatting * make app pwa downloadable * move to new chat on button press * remove router * feat: Refactor code to use MarkdownWrapper component - Refactored the code in the `Home` component to replace usages of `ReactMarkdown` and `SyntaxHighlighter` with the new `MarkdownWrapper` component. - Updated the `Home` component to pass the `text` prop to the `MarkdownWrapper` component for each message. - Added a new component `MarkdownWrapper` to handle rendering markdown text with syntax highlighting. - Removed unused imports from the `page.tsx` file, including `ReactMarkdown`, `SyntaxHighlighter`, and `dark` styles. - Also removed unused imports from the `sidebar.tsx` file, including `useState` import. * Optimization (#96) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Optimization (#98) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Sentry & Posthog integration on web * Linting Errors * add latex support and incentive it (#104) * prevent unallowed messages (#111) * implement autoscroll (#112) * implement autoscroll Refactored imports in "page.tsx" to improve readability and maintainability. Updated the type of the "input" ref to be more specific. Added a new state and ref to track the scroll position of the message container. Set up an event listener to update the state when the scroll position changes. Made adjustments to the scroll position in certain event handlers. * update scroll --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ add multiline support (#118) * ♻️ refactor all of the api stuff (#119) * ♻️ refactor all of the api stuff a redo of the old refactor branch, but cleaner. moved all api calls to api.ts and supabase.ts * Minor Bug Fixes - Add `build-essential` to dockerfile - Fix signin button size - Add await for signout - Force re-render on conversation name change --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ implement dark mode (#120) automatically check for system mode manual control via animated thingy Co-authored-by: Vineeth Voruganti <[email protected]> * Documentation (#121) * README update and start of supabase plus making next buildable * Supabase Local Setup and README additions * Update web .env template and note on supabase local auth * Force redirect for unauthenticated and add posthog events (#122) * Update version * Static banner * ✨ caching and skeletons (#127) * Revert "✨ caching and skeletons (#127)" This reverts commit 15e649e. * Http error handling (#129) * upgrade openai and langchain Co-authored-by: Jacob Vanmeter <[email protected]> * extend supabase timeout * Handle moderation errors + other streaming errors explicitly * Streaming error handling * ✨ caching and skeletons (#127) * Revert "✨ caching and skeletons (#127)" This reverts commit 15e649e. --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ caching and skeletons 2 (#130) * ✨ caching and skeletons * 🐛 fix the swr revalidation errors * 💄 fix dark mode typing indicator * Changelogs (#131) * Tutor-GPT 0.5.0 (#124) * Tracing (#60) * Tracing to separate conversations * Basic Postgres Connection via Supabase * MVP Postgres Backed Chat Message History * Full binary install or psycopg3 * Use Supabase directly to avoid issues with postgres connections * .env.template update * 0.3.0 Long Term Memory (#62) * Add reply to discord and limit chat history to 10 messages * reverse returned messages and cleanup comments * Update changelog * increase cache limit * Switch to Azure OpenAI * Changelog * fix: update link to more recent blog post * Sanitize thoughts before sending them in the thought's channel (#65) * LayeredLRU Cache (#69) * Make BloomChain a static class * MVP Layered LRU Cache using Postgres * Remove testing variables * Async Mutex Lock on Cache * Stateless bug (#70) * Dynamic model switching * Fix hardcoding and add recovery logic for conversation tables * Add support for multiple conversations * Fix merge errors * Fix merge errors 2 * fix: top_p 0.5 to address gibberish * Custom Web UI (#76) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Fix Github Action Workflow * Fix Github Action Workflow * add user prediction function * Honcho Changes (#77) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml * Honcho Stream * Honcho Stream --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Social Graph Changes * Authentication Form Styling * Working Auth * Stylistic changes * Address all linting errors * Naive Route Protection * Fly minimum machines * Open Graph Image Changes * Remove anonymous honcho usage, fix opengraph (#80) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * UI tweaks (#81) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * UI tweaks (#82) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Open Graph Fix * Remove Streamlit * UI tweaks (#84) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Remove native prompts for sweetalert * Changelog * Remove Honcho for discord * Web fixes (#89) * seperation between sidebar and window + formatting * make app pwa downloadable * move to new chat on button press * remove router * feat: Refactor code to use MarkdownWrapper component - Refactored the code in the `Home` component to replace usages of `ReactMarkdown` and `SyntaxHighlighter` with the new `MarkdownWrapper` component. - Updated the `Home` component to pass the `text` prop to the `MarkdownWrapper` component for each message. - Added a new component `MarkdownWrapper` to handle rendering markdown text with syntax highlighting. - Removed unused imports from the `page.tsx` file, including `ReactMarkdown`, `SyntaxHighlighter`, and `dark` styles. - Also removed unused imports from the `sidebar.tsx` file, including `useState` import. * Optimization (#96) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Optimization (#98) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Sentry & Posthog integration on web * Linting Errors * add latex support and incentive it (#104) * prevent unallowed messages (#111) * implement autoscroll (#112) * implement autoscroll Refactored imports in "page.tsx" to improve readability and maintainability. Updated the type of the "input" ref to be more specific. Added a new state and ref to track the scroll position of the message container. Set up an event listener to update the state when the scroll position changes. Made adjustments to the scroll position in certain event handlers. * update scroll --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ add multiline support (#118) * ♻️ refactor all of the api stuff (#119) * ♻️ refactor all of the api stuff a redo of the old refactor branch, but cleaner. moved all api calls to api.ts and supabase.ts * Minor Bug Fixes - Add `build-essential` to dockerfile - Fix signin button size - Add await for signout - Force re-render on conversation name change --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ implement dark mode (#120) automatically check for system mode manual control via animated thingy Co-authored-by: Vineeth Voruganti <[email protected]> * Documentation (#121) * README update and start of supabase plus making next buildable * Supabase Local Setup and README additions * Update web .env template and note on supabase local auth * Force redirect for unauthenticated and add posthog events (#122) * Update version * Static banner --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> * Changelogs --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> * 🐛 hotfix thought glitch (#136) * Simple change to add next static export for local testing (#135) * Re-sync staging with main (#134) * 0.5.1 (#132) * Tracing (#60) * Tracing to separate conversations * Basic Postgres Connection via Supabase * MVP Postgres Backed Chat Message History * Full binary install or psycopg3 * Use Supabase directly to avoid issues with postgres connections * .env.template update * 0.3.0 Long Term Memory (#62) * Add reply to discord and limit chat history to 10 messages * reverse returned messages and cleanup comments * Update changelog * increase cache limit * Switch to Azure OpenAI * Changelog * fix: update link to more recent blog post * Sanitize thoughts before sending them in the thought's channel (#65) * LayeredLRU Cache (#69) * Make BloomChain a static class * MVP Layered LRU Cache using Postgres * Remove testing variables * Async Mutex Lock on Cache * Stateless bug (#70) * Dynamic model switching * Fix hardcoding and add recovery logic for conversation tables * Add support for multiple conversations * Fix merge errors * Fix merge errors 2 * fix: top_p 0.5 to address gibberish * Custom Web UI (#76) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Fix Github Action Workflow * Fix Github Action Workflow * add user prediction function * Honcho Changes (#77) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml * Honcho Stream * Honcho Stream --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Social Graph Changes * Authentication Form Styling * Working Auth * Stylistic changes * Address all linting errors * Naive Route Protection * Fly minimum machines * Open Graph Image Changes * Remove anonymous honcho usage, fix opengraph (#80) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * UI tweaks (#81) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * UI tweaks (#82) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Open Graph Fix * Remove Streamlit * UI tweaks (#84) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Remove native prompts for sweetalert * Changelog * Remove Honcho for discord * Web fixes (#89) * seperation between sidebar and window + formatting * make app pwa downloadable * move to new chat on button press * remove router * feat: Refactor code to use MarkdownWrapper component - Refactored the code in the `Home` component to replace usages of `ReactMarkdown` and `SyntaxHighlighter` with the new `MarkdownWrapper` component. - Updated the `Home` component to pass the `text` prop to the `MarkdownWrapper` component for each message. - Added a new component `MarkdownWrapper` to handle rendering markdown text with syntax highlighting. - Removed unused imports from the `page.tsx` file, including `ReactMarkdown`, `SyntaxHighlighter`, and `dark` styles. - Also removed unused imports from the `sidebar.tsx` file, including `useState` import. * Optimization (#96) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Optimization (#98) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Sentry & Posthog integration on web * Linting Errors * add latex support and incentive it (#104) * prevent unallowed messages (#111) * implement autoscroll (#112) * implement autoscroll Refactored imports in "page.tsx" to improve readability and maintainability. Updated the type of the "input" ref to be more specific. Added a new state and ref to track the scroll position of the message container. Set up an event listener to update the state when the scroll position changes. Made adjustments to the scroll position in certain event handlers. * update scroll --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ add multiline support (#118) * ♻️ refactor all of the api stuff (#119) * ♻️ refactor all of the api stuff a redo of the old refactor branch, but cleaner. moved all api calls to api.ts and supabase.ts * Minor Bug Fixes - Add `build-essential` to dockerfile - Fix signin button size - Add await for signout - Force re-render on conversation name change --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ implement dark mode (#120) automatically check for system mode manual control via animated thingy Co-authored-by: Vineeth Voruganti <[email protected]> * Documentation (#121) * README update and start of supabase plus making next buildable * Supabase Local Setup and README additions * Update web .env template and note on supabase local auth * Force redirect for unauthenticated and add posthog events (#122) * Update version * Static banner * ✨ caching and skeletons (#127) * Revert "✨ caching and skeletons (#127)" This reverts commit 15e649e. * Http error handling (#129) * upgrade openai and langchain Co-authored-by: Jacob Vanmeter <[email protected]> * extend supabase timeout * Handle moderation errors + other streaming errors explicitly * Streaming error handling * ✨ caching and skeletons (#127) * Revert "✨ caching and skeletons (#127)" This reverts commit 15e649e. --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ caching and skeletons 2 (#130) * ✨ caching and skeletons * 🐛 fix the swr revalidation errors * 💄 fix dark mode typing indicator * Changelogs (#131) * Tutor-GPT 0.5.0 (#124) * Tracing (#60) * Tracing to separate conversations * Basic Postgres Connection via Supabase * MVP Postgres Backed Chat Message History * Full binary install or psycopg3 * Use Supabase directly to avoid issues with postgres connections * .env.template update * 0.3.0 Long Term Memory (#62) * Add reply to discord and limit chat history to 10 messages * reverse returned messages and cleanup comments * Update changelog * increase cache limit * Switch to Azure OpenAI * Changelog * fix: update link to more recent blog post * Sanitize thoughts before sending them in the thought's channel (#65) * LayeredLRU Cache (#69) * Make BloomChain a static class * MVP Layered LRU Cache using Postgres * Remove testing variables * Async Mutex Lock on Cache * Stateless bug (#70) * Dynamic model switching * Fix hardcoding and add recovery logic for conversation tables * Add support for multiple conversations * Fix merge errors * Fix merge errors 2 * fix: top_p 0.5 to address gibberish * Custom Web UI (#76) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Fix Github Action Workflow * Fix Github Action Workflow * add user prediction function * Honcho Changes (#77) * init nextjs * fast api init * styling and thoughts * streaming updates * connect to api * Add thoughts to the web UI * Refactor input to be a form for UX (e.g. pressing enter sends) * typing and thoughts * Refactor input to be a form for UX (e.g. pressing enter sends) * Revert "Merge remote-tracking branch 'origin/custom-web' into custom-web" This reverts commit 1eae747. * Skeleton Multiple Chat Window UI * MVP Layout * Tested Discord and Skeleton FastAPI * Add, Delete, and Set Conversations * Get and send messages * Edit message names * Local serving from FastAPI via static export * Deployment strategy for static files * Separate out apps * Vercel Deployment with Action * Re-add discord to fly.toml * Honcho Stream * Honcho Stream --------- Co-authored-by: hyusap <[email protected]> Co-authored-by: Jacob Van Meter <[email protected]> * Social Graph Changes * Authentication Form Styling * Working Auth * Stylistic changes * Address all linting errors * Naive Route Protection * Fly minimum machines * Open Graph Image Changes * Remove anonymous honcho usage, fix opengraph (#80) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * UI tweaks (#81) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * UI tweaks (#82) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Open Graph Fix * Remove Streamlit * UI tweaks (#84) * Remove anonymous honcho usage, fix opengraph * Remove extra excess logging and comment * I hate typescript * Open Graph, Block chat, delete convo * Sign Up UI * Sign Up UI 2 * Change open graph image * Remove native prompts for sweetalert * Changelog * Remove Honcho for discord * Web fixes (#89) * seperation between sidebar and window + formatting * make app pwa downloadable * move to new chat on button press * remove router * feat: Refactor code to use MarkdownWrapper component - Refactored the code in the `Home` component to replace usages of `ReactMarkdown` and `SyntaxHighlighter` with the new `MarkdownWrapper` component. - Updated the `Home` component to pass the `text` prop to the `MarkdownWrapper` component for each message. - Added a new component `MarkdownWrapper` to handle rendering markdown text with syntax highlighting. - Removed unused imports from the `page.tsx` file, including `ReactMarkdown`, `SyntaxHighlighter`, and `dark` styles. - Also removed unused imports from the `sidebar.tsx` file, including `useState` import. * Optimization (#96) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Optimization (#98) * Usable without honcho and move metadata to creation points * Remove unused psycopg code * Add Sentry instrumentation * Sentry to python * Update env * Sentry & Posthog integration on web * Linting Errors * add latex support and incentive it (#104) * prevent unallowed messages (#111) * implement autoscroll (#112) * implement autoscroll Refactored imports in "page.tsx" to improve readability and maintainability. Updated the type of the "input" ref to be more specific. Added a new state and ref to track the scroll position of the message container. Set up an event listener to update the state when the scroll position changes. Made adjustments to the scroll position in certain event handlers. * update scroll --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ add multiline support (#118) * ♻️ refactor all of the api stuff (#119) * ♻️ refactor all of the api stuff a redo of the old refactor branch, but cleaner. moved all api calls to api.ts and supabase.ts * Minor Bug Fixes - Add `build-essential` to dockerfile - Fix signin button size - Add await for signout - Force re-render on conversation name change --------- Co-authored-by: Vineeth Voruganti <[email protected]> * ✨ implement dark mode (#120) automatically check for system mode manual control via animated thingy Co-authored-by: Vineeth Voruganti <[email protected]> * Documentation (#121) * README update and start of supabase plus making next buildable * Supabase Local Setup and README additions * Update web .env template and note on supabase local auth * Force redirect for unauthenticated and add posthog events (#122) * Update version * Static banner --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> * Changelogs --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> * Enforce no anonymous users (#133) --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]> * Remove revalidation on focus (#137) * Remove revalidation on focus * Add PostHog Provider back for production --------- Co-authored-by: vintro <[email protected]> Co-authored-by: Jacob Vanmeter <[email protected]> Co-authored-by: hyusap <[email protected]> Co-authored-by: vintro <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.