Create a runner with common services.
(self, agentic_app: App)
| 748 | return agent_or_app |
| 749 | |
| 750 | def _create_runner(self, agentic_app: App) -> Runner: |
| 751 | """Create a runner with common services.""" |
| 752 | return Runner( |
| 753 | app=agentic_app, |
| 754 | artifact_service=self.artifact_service, |
| 755 | session_service=self.session_service, |
| 756 | memory_service=self.memory_service, |
| 757 | credential_service=self.credential_service, |
| 758 | auto_create_session=self.auto_create_session, |
| 759 | ) |
| 760 | |
| 761 | def _instantiate_extra_plugins(self) -> list[BasePlugin]: |
| 762 | """Instantiate extra plugins from the configured list. |