steps_on_startup_step merge leftover
This commit is contained in:
parent
96b3f2c15d
commit
01df268fbc
1 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
from ...core.main import Step
|
||||
from ...core.sdk import Models, ContinueSDK
|
||||
from ...libs.util.step_name_to_steps import get_step_from_name
|
||||
|
||||
|
||||
class StepsOnStartupStep(Step):
|
||||
|
|
@ -12,6 +11,6 @@ class StepsOnStartupStep(Step):
|
|||
async def run(self, sdk: ContinueSDK):
|
||||
steps_on_startup = sdk.config.steps_on_startup
|
||||
|
||||
for step_name, step_params in steps_on_startup.items():
|
||||
step = get_step_from_name(step_name, step_params)
|
||||
for step_type in steps_on_startup:
|
||||
step = step_type()
|
||||
await sdk.run_step(step)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue