OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Retrieve the list of agents from the backend

Open rbren opened this issue 1 year ago • 3 comments

What problem or use case are you trying to solve? There's a new agent available (PlannerAgent). But it's not visible in the UI

Describe the UX of the solution you'd like Same UX--just a new way of populating the options in the current agent picker

Do you have thoughts on the technical implementation? Make the list of agents available in the backend, then populate the dropdown using that

Similar to: https://github.com/OpenDevin/OpenDevin/pull/370

Describe alternatives you've considered

Additional context

rbren avatar Mar 30 '24 16:03 rbren

I would like to take a stab at it, I have already added functionality in the ui to fetch it from the backend server.

Can someone help guide me how to get a list of available agents in python

manalarora avatar Mar 30 '24 18:03 manalarora

I have raised a PR, can someone check and help furhter on how to make changes in listen.py to get a list of avialble litellm agents

manalarora avatar Mar 30 '24 18:03 manalarora

@rbren I am new to open source, so would appreciate a little help here. Would love to contribute to this awesome project

manalarora avatar Mar 30 '24 18:03 manalarora

Thanks for the contribution! This is in now

rbren avatar Mar 31 '24 19:03 rbren