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

no issue #2

Open
admineral opened this issue Aug 14, 2024 · 9 comments
Open

no issue #2

admineral opened this issue Aug 14, 2024 · 9 comments

Comments

@admineral
Copy link

haha the coding assistant with voice and codesandbox is very nice!

@cameronking4
Copy link
Owner

Thanks! Hoping to flush it more

@admineral
Copy link
Author

I’ve been trying to send a photo of CodeSandbox render to the AI for feedback, but the photo always shows up as white. Maybe you know a trick ?

@cameronking4
Copy link
Owner

Could you share screenshot or steps to repro?

It is a little buggy.

@admineral
Copy link
Author

admineral commented Aug 16, 2024

Sorry for the misunderstanding. I'm working on a similar project using GPT and CodeSandbox, not your repository.

In my project, I've been experimenting with different React libraries to take screenshots. The goal is to create a feedback loop where I can send a screenshot of the code preview, generated by the AI, back to the model for feedback.

However, I'm facing an issue: when I try to capture a screenshot, the iframe showing the rendered preview is always blank (white).

The project I'm working on is called "Reactor" and it's available on my GitHub profile, though I havent pushed the screenshot experient version. Maybe you can help with this?

@cameronking4
Copy link
Owner

Oh I see. Puppeteer is pretty good for taking web screenshot programmatically

@cameronking4
Copy link
Owner

Checkout my repo sketch2app and scroll up to previous commits, it demonstrates how to dynamically show react apps / react native apps with codesandbox rendered inside the app. It uses a package called sandpack which lets you pass json full of code.

@admineral
Copy link
Author

I'm facing an issue: when I try to capture a screenshot, the iframe showing the rendered preview is always blank (white).

@muazshahid
Copy link

@cameronking4
Thank you for you work with VAPI, this repo has been a huge help.

I was trying to add the coding assistant demo to my app but I am unable to do it as mentioned in the docs, I have setup the basic component but have no idea on how you setup the assistant for it? Is there any guidance you could provide on that, it would be of great help.

Thank you.

@cameronking4
Copy link
Owner

Ah Yes please email me I'll send you my setup my Vapi dashboard.

[email protected]

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

No branches or pull requests

3 participants