(callback_context: CallbackContext)
| 329 | ) |
| 330 | |
| 331 | async def before_main_agent(callback_context: CallbackContext): |
| 332 | await callback_context.save_artifact( |
| 333 | 'artifact_1', Part.from_text(text='test') |
| 334 | ) |
| 335 | |
| 336 | async def after_main_agent(callback_context: CallbackContext): |
| 337 | # Artifact 2 should be available after the tool agent. |
nothing calls this directly
no test coverage detected