Ricky Loynd
Ricky Loynd
@thinkall Do you think streaming would help here?
@lucasjinreal Can you provide a complete example in English only?
@sonichi
> I'm currently encountering difficulty in assigning myself. > > > It's not solved. You can assign yourself and work on it. I just assigned you.
@sonichi Do you think this would have value? If so, where would be the sleep call live in the code, and how should the option be exposed?
Good point. For instance, the new AgentCapability class could be called CanSleep. It would define a hook and call `register_hook` to attach it to the existing hookable method, `process_last_message`, which...
> In the notebook: Can user just use `pip install autogen[graphs]` I think you mean `pip install pyautogen[graphs]`
Instead of overriding `generate_oai_reply`, you class can create its own reply function and then call `self.register_reply(...)` on it. Here's an example: https://github.com/microsoft/autogen/blob/main/autogen/agentchat/contrib/retrieve_assistant_agent.py