Merge pull request #135 from continuedev/descriptions

removing if statement
This commit is contained in:
Ty Dunn 2023-06-20 19:27:07 -07:00 • committed by GitHub
commit a06fc2a82d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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