-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/multi task #64
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
Open
khaosans
wants to merge
21
commits into
main
Choose a base branch
from
feature/multi-task
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or 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
This commit updates the supabase types in the `types.ts` file and adds task-related functions in the `mutations.ts` file. It also creates the `tasks` table in the database and sets up row-level security policies for tasks. These changes improve the organization and functionality of the codebase.
- Updated the subscription in the chat stream route to use the supabase channel instead of the deprecated method. - Added a filter to only receive INSERT events for messages with type 'intermediate' and matching chat_id. - Enqueued the data payload for intermediate messages to the controller. fix: Fix viewport settings in layout.tsx - Removed unnecessary viewport properties from the metadata object in layout.tsx. - Set the userScalable property to false in the viewport object. refactor: Remove unnecessary newlines at end of files - Removed unnecessary newlines at the end of files to improve code readability.
…d functions - Update supabase subscription in chat stream route - Update supabase types and add task-related functions - Add OpenAIStream and StreamingTextResponse imports - Create stream and handle intermediate responses - Save messages to the database - Return a StreamingTextResponse in POST route - Update experimental serverActions in next.config.js - Add @testing-library/jest-dom to tsconfig.json types
…d functions - Update supabase subscription and types - Add task-related functions
This commit adds new hooks for handling local storage and window size in the codebase. These hooks will provide convenient abstractions for accessing and manipulating local storage data and monitoring changes in the window size. This will improve the overall functionality and user experience of the application.
This commit adds new hooks for local storage and window size. These hooks will be used to handle storage and window-related functionality in the application.
- Refactor the message component to include new functionality for displaying attachments and wallet information. - Add a new component, ImageWithFallback, to handle image loading and error handling. - Introduce a new state variable, showActions, to control the visibility of message actions. - Implement a dropdown menu for user messages with options to copy and delete the message. - Add suggested actions to the multimodal input component for easier user interaction.
Add the OpenAIStreamConfig interface to the types.ts file to define the configuration options for the OpenAI stream. refactor: Update elron-ai.code-workspace Update the elron-ai.code-workspace file to include additional project folders. chore: Update package.json Add the eventsource-parser dependency to the package.json file. feat: Add getOpenAIConfig function Add the getOpenAIConfig function to the openai-config.ts file to retrieve the OpenAI API key. feat: Update route.ts Update the route.ts file to include two new OpenAI models: GPT-4O Mini and GPT-4O. feat: Update site.webmanifest Update the site.webmanifest file to include a description and icons for the Elron AI chatbot. chore: Update pnpm-lock.yaml Add the eventsource-parser dependency to the pnpm-lock.yaml file. feat: Add OpenAIStream function Add the OpenAIStream function to the openai-stream.ts file to handle streaming responses from the OpenAI API. refactor: Update layout.tsx Update the layout.tsx file to include additional icons and theme color options.
…rfaces This commit adds three new interfaces: WeatherParams, CryptoPriceParams, and FunctionResponse. These interfaces are used to define the types of parameters and response data for different functions in the application. The WeatherParams interface includes properties for location and an optional unit of temperature measurement. The CryptoPriceParams interface includes properties for a cryptocurrency symbol and an optional currency. The FunctionResponse interface defines the structure of the response data for various functions, including a success flag, optional data, and an optional error message. These interfaces will be used to ensure type safety and provide clear documentation for the functions that use them.
…r, supabase types, card, badge, useTaskManager, chat, scroll-area, langchain task-manager, task-list, and scroll-area components
Add the SettingsProvider component to provide a context for managing application settings. This component allows users to customize the theme, font size, and notifications. It also includes a function to update the settings based on user preferences.
…Processor, supabase types, card, badge, useTaskManager, chat, scroll-area, langchain task-manager, task-list, and scroll-area components" This reverts commit 8ac6988.
Update the names of the OpenAI models in the chat route to match the latest versions. This ensures compatibility with the updated models. chore: Update Supabase server cookie handling Update the Supabase server code to handle cookie operations correctly. This includes setting, removing, and getting cookies with the appropriate options. feat: Update metadata and layout for Chainable Update the metadata and layout for the Chainable application. This includes updating the title, description, and icons for the application. fix: Handle errors in auth callback and login page Add error handling to the auth callback and login page to handle any potential errors that may occur during the authentication process. refactor: Update Supabase client cookie handling Update the Supabase client code to handle cookie operations correctly. This includes setting, removing, and getting cookies with the appropriate options.
- Refactor the data-fetching test to use a mock cookie store instead of the cookies module - Update the chat route test to use a Supabase client with async authentication
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.