We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948963d commit 9cd62c9Copy full SHA for 9cd62c9
src/ai/backend/agent/runtime.py
@@ -65,6 +65,7 @@ async def _create_agent(
65
agent_config: AgentUnifiedConfig,
66
) -> AbstractAgent:
67
agent_kwargs = {
68
+ "kernel_registry": self.kernel_registry,
69
"stats_monitor": self.stats_monitor,
70
"error_monitor": self.error_monitor,
71
"agent_public_key": self.agent_public_key,
@@ -74,4 +75,4 @@ async def _create_agent(
74
75
agent_mod = importlib.import_module(f"ai.backend.agent.{backend.value}")
76
agent_cls = agent_mod.get_agent_cls()
77
- return agent_cls.new(etcd_view, agent_config, **agent_kwargs)
78
+ return await agent_cls.new(etcd_view, agent_config, **agent_kwargs)
0 commit comments