callbacl handler change

Former-commit-id: 9490ff3ea3
WorkerULTRANODE
Kye 2 years ago
parent 3ba2331c40
commit faab8f7674

@ -13,8 +13,8 @@ from .AgentBuilder import AgentBuilder
from .Calback import EVALCallbackHandler, ExecutionTracingCallbackHandler from .Calback import EVALCallbackHandler, ExecutionTracingCallbackHandler
callback_manager_instance = CallbackManager() callback_manager_instance = CallbackManager(EVALCallbackHandler())
callback_manager_instance.set_handler(handler=EVALCallbackHandler())
class AgentManager: class AgentManager:
def __init__(self, toolsets: list[BaseToolSet] = []): def __init__(self, toolsets: list[BaseToolSet] = []):

Loading…
Cancel
Save