summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-15 23:32:55 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-15 23:32:55 -0700
commit661ce01334b82a74426f2c30df59318c3e847f4f (patch)
tree81aa0d93ba67c60a1dfadc1da9e63dbc68b12c97
parentc4f31a6b382826cbd520c104e17b95cc30ce375a (diff)
downloadsncontinue-661ce01334b82a74426f2c30df59318c3e847f4f.tar.gz
sncontinue-661ce01334b82a74426f2c30df59318c3e847f4f.tar.bz2
sncontinue-661ce01334b82a74426f2c30df59318c3e847f4f.zip
patch, on_traceback step
-rw-r--r--continuedev/src/continuedev/steps/on_traceback.py14
-rw-r--r--extension/package-lock.json4
-rw-r--r--extension/package.json2
-rw-r--r--extension/scripts/continuedev-0.1.1-py3-none-any.whlbin81620 -> 83961 bytes
4 files changed, 17 insertions, 3 deletions
diff --git a/continuedev/src/continuedev/steps/on_traceback.py b/continuedev/src/continuedev/steps/on_traceback.py
new file mode 100644
index 00000000..de668775
--- /dev/null
+++ b/continuedev/src/continuedev/steps/on_traceback.py
@@ -0,0 +1,14 @@
+from ..core.main import Step
+from ..core.sdk import ContinueSDK
+from .chat import SimpleChatStep
+
+
+class DefaultOnTracebackStep(Step):
+ output: str
+ name: str = "Help With Traceback"
+ hide: bool = True
+
+ async def run(self, sdk: ContinueSDK):
+ sdk.run_step(SimpleChatStep(
+ name="Help With Traceback",
+ user_input=f"""I got the following error, can you please help explain how to fix it?\n\n{self.output}"""))
diff --git a/extension/package-lock.json b/extension/package-lock.json
index e41cd2c2..7e8da126 100644
--- a/extension/package-lock.json
+++ b/extension/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "continue",
- "version": "0.0.40",
+ "version": "0.0.44",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "continue",
- "version": "0.0.40",
+ "version": "0.0.44",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",
diff --git a/extension/package.json b/extension/package.json
index 4b199420..8cf50d2a 100644
--- a/extension/package.json
+++ b/extension/package.json
@@ -14,7 +14,7 @@
"displayName": "Continue",
"pricing": "Free",
"description": "Refine code 10x faster",
- "version": "0.0.40",
+ "version": "0.0.44",
"publisher": "Continue",
"engines": {
"vscode": "^1.74.0"
diff --git a/extension/scripts/continuedev-0.1.1-py3-none-any.whl b/extension/scripts/continuedev-0.1.1-py3-none-any.whl
index 2f8f1550..614190c7 100644
--- a/extension/scripts/continuedev-0.1.1-py3-none-any.whl
+++ b/extension/scripts/continuedev-0.1.1-py3-none-any.whl
Binary files differ