* refactor: ♻️ get rid of continuedev.src.continuedev structure * refactor: ♻️ switching back to server folder * feat: ✨ make config.py imports shorter * feat: 🔖 publish as pre-release vscode extension * refactor: ♻️ refactor and add more completion params to ui * build: 🏗️ download from preview S3
16 lines
471 B
Python
16 lines
471 B
Python
from ...core.main import ContinueSDK, Models, Step
|
|
from .main import EditHighlightedCodeStep
|
|
|
|
|
|
class CommentCodeStep(Step):
|
|
hide: bool = True
|
|
|
|
async def describe(self, models: Models):
|
|
return "Writing comments"
|
|
|
|
async def run(self, sdk: ContinueSDK):
|
|
await sdk.run_step(
|
|
EditHighlightedCodeStep(
|
|
user_input="Write comprehensive comments in the canonical format for every class and function"
|
|
)
|
|
)
|