-
Notifications
You must be signed in to change notification settings - Fork 138
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
Use reflex for Python full-stack #375
Comments
could be based on reflex-dev/reflex-examples#269 |
@marcusschiesser this might be better: Still have a bunch of features I want to add to the chat app |
@elviskahoro thanks for the input! Our goal is to have the Reflex template as similar to the NextJS template as possible, so we will first extract some UI components from the NextJS template: #382 Then, we can use them in our upcoming Reflex template. So, the structure of our Reflex template will be based on your code, but we will use the chat components of #382. You might even consider using them yourself, as they have a lot of features, e.g. widgets for LLM tools, image and document uploads and viewers, etc. |
@elviskahoro I tried using our chat-ui components in your chat example (just the chat messages for the start), see reflex-dev/reflex-examples#278 I am not sure how to use object parameters in
|
This issue is solved (it was just caused by pydantic validation). Then I ran into the issue that my component is importing CSS, so I temporarily removed the CSS in this PR for chat-ui: run-llama/chat-ui#8 When I now use @elviskahoro's chat app (with this updated code: https://github.com/reflex-dev/reflex-examples/pull/278/files) and use but if i enter some text the rendering of the This doesn't happen in pure React: If you use the The first error in the console log is actually:
My best guess is that we're having two react versions - Maybe |
chat-ui is now working with Reflex, but we will use the approach in #421 instead for greater flexibility |
No description provided.
The text was updated successfully, but these errors were encountered: