feat: Add before_model_callback to Agent initialization

This commit is contained in:
2026-03-04 16:59:46 +00:00
parent 1c255c5ccf
commit 7d5309c9d0

View File

@@ -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,
)