Find answers from the community

Updated 2 months ago

hello

hello!
I am curious - is it possible to use OpenAIAgent or another variation of agent to decouple response from function execution? My end goal is to have "approve" flow before each function execution.

The only option I see now is to copy the agent class and figure out some changes there
L
s
3 comments
hmm, like a human-in-the-loop kind of thing?

Yea, that would have to be a custom sub-class I think πŸ€”
subclassing isn't too bad. There are 4 methods that are basically copies of each other (chat/achat/stream/astream)

I would only modify the one you intend to use to save yourself some work haha
Add a reply
Sign up and join the conversation on Discord