We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57916a0 commit a80d68cCopy full SHA for a80d68c
2 files changed
agentops/partners/autogen_logger.py
@@ -92,7 +92,7 @@ def log_function_use(self, source: Union[str, Agent], function: F, args: Dict[st
92
event.function = function # TODO: this is not a parameter
93
event.params = args
94
event.returns = returns
95
- event.name = getattr(function, "_name")
+ event.name = getattr(function, "__name__")
96
agentops.record(event)
97
98
def log_new_wrapper(
0 commit comments