diff options
author | Ty Dunn <ty@tydunn.com> | 2023-06-20 19:27:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-20 19:27:07 -0700 |
commit | 5165f4b3a44b3293972657b4c64210d92784b076 (patch) | |
tree | bdc9d5af24937dfc7ef188f1d3195509c3fad59e | |
parent | 728ab16a96fe9733d89282841a40114ecb1a12ab (diff) | |
parent | 8164445d83bca3b62b1b1289391c16f59ff1e925 (diff) | |
download | sncontinue-5165f4b3a44b3293972657b4c64210d92784b076.tar.gz sncontinue-5165f4b3a44b3293972657b4c64210d92784b076.tar.bz2 sncontinue-5165f4b3a44b3293972657b4c64210d92784b076.zip |
Merge pull request #135 from continuedev/descriptions
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 |