MCPcopy Index your code
hub / github.com/google/adk-python / _create_runner

Method _create_runner

src/google/adk/cli/api_server.py:750–759  ·  view source on GitHub ↗

Create a runner with common services.

(self, agentic_app: App)

Source from the content-addressed store, hash-verified

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.

Callers 1

get_runner_asyncMethod · 0.95

Calls 1

RunnerClass · 0.85

Tested by

no test coverage detected