You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@taham655 For now, I was able to pass in a @function_tool into my agent, get_clarification_from_user
@function_tool
def get_clarification_from_user(text: str) -> str:
"""
Ask the user for clarification based on the provided question.
Args:
text (str): The clarification question to ask the user.
Returns:
str: The clarification response from the user.
"""
print(f"\n📝 The agent is asking for clarification:\n{text}\n")
clarification = input("Your clarification: ")
return clarification
This instructed my agent to loop me in once it reaches an impasse.
Is there any implementation guide for adding human in the loop workflows especially in prod
The text was updated successfully, but these errors were encountered: