Git Product home page Git Product logo

babyagi-ui's People

Contributors

cs4k1sr4c avatar doyaaaaaken avatar hamero avatar ideabrian avatar jlancaster7 avatar johnfelipe avatar jpigla avatar miurla avatar sweep-ai[bot] avatar tajkirkpatrick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

babyagi-ui's Issues

Request failed with status code 429

Hello, I'm just trying BabyGPT right now but I'm having this error when launching a task :
'Request failed with status code 429'

It seems correlated with too musch requests in some ways.

I have not set a PINECONE_API_KEY, just a valid OpenAI key inside the UI.

I'm searching but I can't figured it out

Cleanup UI

  • GPT-4 alert
  • Supplementation of babyagi

WebBrowser Issue After Update

hi,
I updated last version yesterday
But, i realize errors :

With google chrome:
First : in cmd when in use : "Fast Refresh had to perform a full reload"
Second : New IntroGuide.tsx] menu is not visible in chrome but sidebar menu with istoric is okay
With Firefox:
First : No problem in cmdlog : No "Fast Refresh had to perform a full reload" anymore
Second: New [IntroGuide.tsx] menu is visible but sidebar menu with historic text is not visible

any conflit UI ?
Thanx do reporting solution

AbyssTensor

"url":"https://serpapi.com/search"},"code":"ERR_BAD_REQUEST","status":401

Error Message - using Vercel for deployment.

I updated the .env file and entered a working API key for SerpAPI (I know it works since I'm using it for another project). Did I miss somewhere else to configure Serp?

{"message":"Request failed with status code 401","name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (file:///var/task/node_modules/axios/lib/core/settle.js:19:12)\n at IncomingMessage.handleStreamEnd (file:///var/task/node_modules/axios/lib/adapters/http.js:570:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, /","User-Agent":"axios/1.4.0","Accept-Encoding":"gzip, compress, deflate, br"},"params":{"engine":"google","q":"Research the impact of Generative AI on Retail/eCommerce","num":5},"method":"get","url":"https://serpapi.com/search"},"code":"ERR_BAD_REQUEST","status":401}
Screen Shot 2023-05-18 at 12 37 19 AM

Execution Result History

Save the execution results and display the history in a list.
ref: #9

UI

  • Sidebar
    • Button (New)
    • List

Functions

  • Add data with the new button
  • Add data with the start button
  • Save data when execution is finished
  • Display history
  • Delete data

Data

  • id: string
  • title: string
  • date: Date()
  • params
    • mode id: string
    • iterations: number
    • first_task: string
    • objective: string
  • messages: Message[]

Save destination

  • LocalStorage

Terminal ERROR

When running BabyAgi-UI, noticed in the terminal providing this error.

wait  - compiling /api/enrich (client and server)...
event - compiled successfully in 48 ms (280 modules)
error - [RangeError: Invalid status code: 0] {
  code: 'ERR_HTTP_INVALID_STATUS_CODE'

Than later on I may get a error like this

error - [RangeError: Invalid status code: 0] {
  code: 'ERR_HTTP_INVALID_STATUS_CODE'
}

Any clarification if this is a major issue or not would be greatly appreciated, also is there way for it to continue or save its previous sessions?

Unhandled Runtime Error

Getting this error after inputting my objective and hit the arrow button
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'trim')

error - [RangeError: Invalid status code: 0] {
code: 'ERR_HTTP_INVALID_STATUS_CODE'

Enhancing the Project with Suggestions

Enhancing the Project with Suggestions from Godmode-GPT https://godmode.space/

Hi @miurla,

First of all, I would like to commend your efforts on adding internet access and scraping capabilities to the project. Your hard work has been exceptional, and I'd like to offer some suggestions to further enhance your work.

I have based my observations on the advantages provided by the Godmode-GPT project (AutoGPT+BabyAGI combo):

  1. Editable Initial Task List: Consider making the initial task list generated by GPT-4 editable or reprioritizable by humans, which will help BabyAGI narrow down to the actual problem more efficiently.

  2. Global Context Maintenance: In the current implementation, once iterations or tasks are finished, the next human input is treated as a new task. If you could integrate the human input into the current context and continue within that context, more effective solutions may be discovered.

  3. Local File Storage: To avoid experiences like @sacredgrove23's, consider storing intermediate results in text files within local storage. This would require a file explorer in the UI and compartmentalization of files among chats, which may be a complex task, but it would enhance the overall user experience.

Once again, fantastic work on the project, and I hope you find these suggestions helpful!

by @kvk-code

It doesn’t work with two user inputs

literallyhim — Today at 10:33 AM
chat makes 2 inputs for me, i enter 1 and second one gets stuck...anyone having same issue?
miiura — Today at 12:11 PM
Oh, that might occur depending on the situation. Are you talking about when 2 inputs are in a waiting state at the same time?
literallyhim — Today at 3:27 PM
Yes sir

from Discord

Request failed with status code 401

i have error in web

Unhandled Runtime Error


AxiosError: Request failed with status code 401
Call Stack
AxiosError
node_modules/axios/lib/core/AxiosError.js (22:0)
createError
node_modules/langchain/dist/util/axios-fetch-adapter.js (320:0)
settle
node_modules/langchain/dist/util/axios-fetch-adapter.js (25:0)
fetchAdapter/<
node_modules/langchain/dist/util/axios-fetch-adapter.js (175:0)
fetchAdapter
node_modules/langchain/dist/util/axios-fetch-adapter.js (167:0)

I have correctly filled all apikey .

how to make sure it babyagi-ui is updated

hi there, excuse my question, completely new to this but love what you did with babyagi-ui!!! thank you very much, even with minimal starting knowledge I was able to get it to run.

my question is probably very mundane but could you advise on how to make sure one is running the most current version of baby-agi-ui?

API

Is it possible to have an API for it? So I can host this and use babyagi as an api

Dockerize It

Make the image available via a Dockerfile and docker-compose.yml file to setup the environment and application.

Updating Setup Procedure

Thank you for developing this interesting software. While testing babyagi-ui in my local environment, I encountered issues during execution of /api/context etc. The current setup instructions appear to be missing information regarding Pinecone configuration. After setting up an environment like below, the errors were resolved.

screenshot

Enter key to start execution

A suggestion, could we have the ability to press enter to prompt instead of having to click the icon/arrow symbol!
Would make things much more natural :)

Server Error

TypeError: Cannot read properties of null (reading 'useContext')

This error happened while generating the page. Any console logs will be displayed in the terminal window.

Import trace for requested module:
./node_modules/next/dist/shared/lib/head.js
Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:

  1. You might have mismatching versions of React and the renderer (such as React DOM)
  2. You might be breaking the Rules of Hooks
  3. You might have more than one copy of React in the same app
    See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    [TypeError: Cannot read properties of null (reading 'useContext')]
    [TypeError: Cannot read properties of null (reading 'useContext')]

Happens for a new install and first run

Improve mobile layout

TODO

  • Overlapping select content
  • Adjusting overall margins
  • Menu open by default
  • Adjust project title layout

Runtime error search

Hi, I keep getting this error message after following all the steps, adding the info to .env (including a active SERP API key). Any ideas how to solve this?

Unhandled Runtime Error
TypeError: searchResults is not iterable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.