jaydev
November 11, 2024, 4:59am
1
Hi All,
Glad to be amongst everyone who’s enjoying this ride of development and tweaking! Does anyone know how to load an existing project folder into OttoDev? The folder sync doesn’t seem to do it, and how do you start an existing project without starting a chat?
Current folder sync only outputs
There are PRs to add functionality like this one
coleam00:main
← muzafferkadir:main
opened 12:08AM - 03 Nov 24 UTC
# Uploading File Integration for AI Chat Interactions
## Features Added
- Ad… ded ability to upload local files directly into the chat interface
- Added support for uploading entire folders with multiple files
- Integrated file contents seamlessly into the chat history
- Real-time parsing and display of uploaded files in the workbench
## Technical Implementation
- Implemented `addCustomFile` and `addCustomFolder` functions in Chat.client.tsx
- Added new UI buttons in EditorPanel.tsx for file and folder uploads
- Extended workbench store to handle new file operations
- Files are stored with unique IDs and properly formatted for chat display
## UI Changes
- New "Upload File" button with file upload icon
- New "Upload Folder" button with folder plus icon
- Intuitive file selection interface using native file picker
## Benefits
- Enables users to directly manipulate project files through chat interface
- Streamlines workflow for adding multiple files simultaneously
- Maintains chat history with uploaded file contents
- Improves project collaboration capabilities
## How to Use
1. Click "Upload File" to add a single file
2. Click "Upload Folder" to add multiple files from a directory
3. Files appear in chat history and workbench for AI interaction
4. Make changes through chat interface as needed
This PR enhances the project's functionality by allowing seamless integration of local files into the AI chat workflow, making it more powerful and user-friendly.
They are in review and will be merged sooner then later.
3 Likes
jaydev
November 19, 2024, 7:54pm
3
Hell yeah! This is awesome!
1 Like