Skip to content
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

Refinement of folder import #426

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wonderwhy-er
Copy link
Collaborator

@wonderwhy-er wonderwhy-er commented Nov 26, 2024

Motivation

PR for refinement of folder import based on feedback from here:
#413 (comment)

Improvements

  • Split import button in to separate files
  • Added code to detect package.json and make decisions weather to run npx serve or npm install && npm run dev/start/preview commands after file import. Or fallback to proposing to investigate package.json for other commands if those are not found with LLM
  • I tried to add some "loading" and also max files at 1000 warning that this project does not yet support large projects
    But even 1000 seems to big. Will not fit in to LLM context anyways...

@mersadwm
Copy link

Hi, great job, and thank you for adding this feature—it’s fantastic!
I’m not sure if this issue is relevant, but I wanted to bring it up just in case it’s worth investigating.
I’m encountering a problem with imported projects from bolt.new: they don’t seem to work with any APIs. Whenever I try, I consistently get the following error:
“There was an error processing your request: No details were returned.”
However, if I start a new chat or project, the same API works perfectly fine.

@wonderwhy-er
Copy link
Collaborator Author

Hi, great job, and thank you for adding this feature—it’s fantastic! I’m not sure if this issue is relevant, but I wanted to bring it up just in case it’s worth investigating. I’m encountering a problem with imported projects from bolt.new: they don’t seem to work with any APIs. Whenever I try, I consistently get the following error: “There was an error processing your request: No details were returned.” However, if I start a new chat or project, the same API works perfectly fine.

I think its related to size of context, that is one of next big things to fix.

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