Skip to content

Conversation

@khaosans
Copy link
Member

No description provided.

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
@vercel
Copy link

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
elron-ai ❌ Failed (Inspect) Nov 28, 2024 0:19am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants