-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE]: I would like a feature to implement logging of agents intermediate steps (Tool Input, Tool Output, etc.) #1793
Comments
You can use a specific callback they implemented in the crew invoke loop by defining your own conversation logger and setting it for the task callback any intermediate steps in the thought process will trigger this call from the crew_agent_executor.py file main invoke loop. |
PLaying around with this, the task callback is ok but restricted to the main task at hand. Implement your callback as a conversation / log class and do your stuff there. |
So , I also have. small doubt in this process , are you able to send the result from one task to another as it is important in my situation or are you logging them into some file and checking from that? Faced similar issues , where allow_delegation is not working as intended. |
no doubts to have, implemented it using step_callbacks and it works fine. |
So what i need in precisely is my first agent executes a task and gives a output and that output needs to be sent to next task such that the description of the (second) task which is prompt for llm must have the output in it , so that it will provide validation for the first llm output, so, what i need to do to get the first output inot second task description.The context option is not working as intended. what i understood the callback as the function which will be executed for getting control over output from agents task. if i am wrong , correct me |
Wrong section then. What you're trying to do is what delegation enables. |
Feature Area
Documentation
Is your feature request related to a an existing bug? Please link it here.
#146
Describe the solution you'd like
Implement a comprehensive logging mechanism to track the agent's lifecycle. Key features:
This ensures transparency, debuggability, and performance tracking throughout the agent's operations.
Describe alternatives you've considered
No response
Additional context
No response
Willingness to Contribute
I can test the feature once it's implemented
The text was updated successfully, but these errors were encountered: