feat: Add before_model_callback to Agent initialization
This commit is contained in:
@@ -23,6 +23,7 @@ agent = Agent(
|
||||
name=settings.agent_name,
|
||||
instruction=settings.agent_instructions,
|
||||
tools=[toolset],
|
||||
before_model_callback=governance.before_model_callback,
|
||||
after_model_callback=governance.after_model_callback,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user