crewAI
crewAI copied to clipboard
adding agent name feature to help monitor traces in LLMOps tools
Hello,
I have been using various LLM monitoring tools and I noticed that the Trace Name appears as "CrewAgentExecutor" by default in monitoring tools
below image for reference
It can be helpful for developers if we add a name to the Agent so that the traces have these names Below image for reference
This helps in filtering and easy monitoring of traces in any LLMOps tool.
I can see how useful this would be, can we force the name to be the role value though?
you are correct @joaomdmoura , I didnt notice that param earlier. thanks.
I changed the code. please review
Nice improvement! Would you mind adding a test (or a few) for that?
This PR is stale because it has been open for 45 days with no activity.