Giter Club home page Giter Club logo

Comments (10)

victordibia avatar victordibia commented on August 17, 2024 1

Hi @RafalSebastian ,

Work is being done to improve migration of data across versions, but not yet supported so workflows from previous versions will not be compatible with v 0.1.0 +.

With respect to multiple agents, the way to do that is to.

  • Under agents, create a new agent, select group chat, click create. Once this is created, you should see an agents tab. This should then let you add agents to the group chat. Finally, add a model to your group chat.
  • Under workflow, select your user proxy as sender and then your group chat agent as receiver.

from autogen.

victordibia avatar victordibia commented on August 17, 2024 1

Any chance you can share the command line log that shows up when this error occurs? This will be helpful in debugging the issuel.
Eitherway, I'd recommend a fresh conda environment just to ensure there are no conflicts (e.g., version conflicts) and specify a new appdir (ensure the right version of the db is created).

from autogen.

RafalSebastian avatar RafalSebastian commented on August 17, 2024 1

Victor, the issue appears when trying to upload the previous version workflow json to the latest version of AutoGenStudio. As you said, it won't work and now I know why. Additionally it helped to create fresh conda env and new appdir (which wasn't necessary for clean installation).
New ui logic is far more better and "logical".
Thank you for your support Victor, very much appreciated.

from autogen.

dudetheguydude avatar dudetheguydude commented on August 17, 2024 1

A note to whoever comes after this. With the new version, you have to just start from scratch with everything. You cannot bring any agents, any environments, any workflows from your old project files.

You must start from scratch. For me, this entailed creating an entirely new Docker container and building the backend of my application from scratch which was really annoying.

I was able to save the prompts from my old agents but nothing else, there are errors all the way down - this database error was just the beginning. That's the only solution, good luck!

from autogen.

victordibia avatar victordibia commented on August 17, 2024

Hi @TheAmazingRoderic ,

This error is due to an update in the db schema with v 0.1.0 +.
You can correct this by either deleting your current db, or running autogenstudio and pointing it to a new app folder

autogenstudio ui --appdir /path/to/folder

This will create a new db in the /path/to/folder using the right schema.

See docs FAQ on how to specify directory https://microsoft.github.io/autogen/docs/autogen-studio/faqs#q-how-do-i-specify-the-directory-where-fileseg-database-are-stored

from autogen.

TheAmazingRoderic avatar TheAmazingRoderic commented on August 17, 2024

Thank you @victordibia, I was able to repair the database. I reported because I believe it is a bug not to have the same validation/constraint of the schema applied on upload/insert into the database to prevent the situation.

from autogen.

TheAmazingRoderic avatar TheAmazingRoderic commented on August 17, 2024

I do see the TBD in the typescript:


And the commented code used previously:

It seems it would be nice to catch this in back at the the DBManager.upcert

from autogen.

RafalSebastian avatar RafalSebastian commented on August 17, 2024

I have created new db with --appdir instruction, and it allowed me to create one Workflow, but could assign only two agents (proxy and assistant). After that, ALL workflows gone.
image
image

from autogen.

RafalSebastian avatar RafalSebastian commented on August 17, 2024

Thank you Victor for the update. I do not worry much about the issues with migration of data across versions. The problem is I can't define any agent.
image
same for WIN and LINUX
I will carry experiments on previous versions until this issue is fixed. I do strongly regret that I can't contributre much but I truly appreciate everyones effort to make this project better.

from autogen.

RafalSebastian avatar RafalSebastian commented on August 17, 2024

A note to whoever comes after this. With the new version, you have to just start from scratch with everything. You cannot bring any agents, any environments, any workflows from your old project files.

You must start from scratch. For me, this entailed creating an entirely new Docker container and building the backend of my application from scratch which was really annoying.

I was able to save the prompts from my old agents but nothing else, there are errors all the way down - this database error was just the beginning. That's the only solution, good luck!

I have eventually figured it out. , thank you!

from autogen.

Related Issues (20)

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.