-
Notifications
You must be signed in to change notification settings - Fork 39
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
Problem running the code at start #8
Comments
Thanks for checking it out I'll be working on updating the README and installation instructions for the frontend_src. 1. Error Resolution 2. Fixing Issues 2 and 3
Once these steps are completed, you can initiate the server by running in the root the command Starting the dev server
Now you can open http://localhost:3000 |
Hi @jaemil Thanks for the response, but I am still unable to start de frontend I removed the node_modules and did /Users/viewitpro/projetos/agentsflow/frontend_src added 459 packages, and audited 460 packages in 11s 119 packages are looking for funding found 0 vulnerabilities /Users/viewitpro/projetos/agentsflow/frontend_src
✓ Creating an optimized production build ./app/page.tsx ./components/dashboard/flow/flow.tsx info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules ../static/types/app/layout.ts:3:40 1 | // File: /Users/viewitpro/projetos/agentsflow/frontend_src/app/layout.tsx
I tried npm run dev, but when I accessed the the web http://localhost:3000 I got Server Error
This error happened while generating the page. Any console logs will be displayed in the terminal window. |
Can you try removing all files in the static folder? And then again |
Hi @TomExMachina I just cloned the dev branch and everything worked and the UI and server started ok I went to the browser the UI openned I set my openai key selected the model saved the console has this message (base) -> pdm run start_server.py what is your purpose [autogen.oai.completion: 10-11 22:05:29] {774} WARNING - Completion was provided with a config_list, but the list was empty. Adopting default OpenAI behavior, which reads from the 'model' parameter instead. |
Looks like you have not added an OPENAPI key to your environment. You can also import/add the key manually by adding an .env file to apps/api containing the following: |
Hi,
I just finished implementing something very similar to your code using fastapi and websocket
https://gist.github.com/bonadio/2d548a493907c133bc10de806ecd08af
But your code seems better related to the way you handle the threads. I am trying to test it but found a few problems:
1- When I try to install after a did git clone
2- It is missing the "static" directory, I created manually and was able to start
3- When I try to run "npm run dev" on the frontend_src I get
Server Error
Error: Cannot find module 'react'
The text was updated successfully, but these errors were encountered: