diff options
author | Ty Dunn <ty@tydunn.com> | 2023-06-20 19:10:06 -0700 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-06-20 19:10:06 -0700 |
commit | 8164445d83bca3b62b1b1289391c16f59ff1e925 (patch) | |
tree | 73337c7649af170720d4ee912795c5cd139af578 | |
parent | 560949871ba49c67b5379b615c86a82df08ee45d (diff) | |
download | sncontinue-8164445d83bca3b62b1b1289391c16f59ff1e925.tar.gz sncontinue-8164445d83bca3b62b1b1289391c16f59ff1e925.tar.bz2 sncontinue-8164445d83bca3b62b1b1289391c16f59ff1e925.zip |
removing if statement
-rw-r--r-- | continuedev/src/continuedev/core/autopilot.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/continuedev/src/continuedev/core/autopilot.py b/continuedev/src/continuedev/core/autopilot.py index 3d9c46a5..a6e688ae 100644 --- a/continuedev/src/continuedev/core/autopilot.py +++ b/continuedev/src/continuedev/core/autopilot.py @@ -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 |