OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Document difference between different agents (and maybe expose descriptions in UI)

Open shaggy2626 opened this issue 1 year ago • 3 comments

I've come across multiple agent options in the configuration that I'm not entirely familiar with. Specifically, the options are MonologueAgent, CodeActAgent, and PlannerAgent. I've attached a screenshot for reference.

Could you please provide some details on the differences between these agents and the intended use cases for each? Which one do I select? image

shaggy2626 avatar Apr 03 '24 02:04 shaggy2626

Hi @shaggy2626, use MonologueAgent for now. We'll need to update the documentation for this.

yimothysu avatar Apr 03 '24 02:04 yimothysu

@yimothysu Got it, and other question I had was which temp and top p settings are used by default? Is there a way to change it?

shaggy2626 avatar Apr 03 '24 02:04 shaggy2626

There's no way to change it in the UI currently. For a quick workaround, you can pass temperature and top p into the completion function of agenthub/monologue_agent/agent.py for now:

Change line 164

resp = self.llm.completion(messages=messages)

to

resp = self.llm.completion(messages=messages, temperature=..., top_p=...)

yimothysu avatar Apr 03 '24 02:04 yimothysu

Hi @shaggy2626, use MonologueAgent for now. We'll need to update the documentation for this.

Should I still be using this as the default? MonologueAgent

shaggy2626 avatar May 23 '24 01:05 shaggy2626

@shaggy2626 I recommend defaulting to CodeActAgent now

yimothysu avatar May 23 '24 02:05 yimothysu