removing if statement
This commit is contained in:
parent
7be21f5240
commit
13a083b656
1 changed files with 5 additions and 6 deletions
|
|
@ -211,13 +211,12 @@ class Autopilot(ContinueBaseModel):
|
|||
await self.update_subscribers()
|
||||
|
||||
# Update its description
|
||||
if step.description is None:
|
||||
async def update_description():
|
||||
step.description = await step.describe(self.continue_sdk.models)
|
||||
# Update subscribers with new description
|
||||
await self.update_subscribers()
|
||||
async def update_description():
|
||||
step.description = await step.describe(self.continue_sdk.models)
|
||||
# Update subscribers with new description
|
||||
await self.update_subscribers()
|
||||
|
||||
asyncio.create_task(update_description())
|
||||
asyncio.create_task(update_description())
|
||||
|
||||
return observation
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue