diff options
author | Ty Dunn <ty@tydunn.com> | 2023-06-21 15:28:37 -0700 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-06-21 15:28:37 -0700 |
commit | a1f9bfd25c2df807ccc49be67b0bc0e57321c272 (patch) | |
tree | 8da2b1049ca1b5f68c6f6379f0f5b35d1fb6d86a /continuedev | |
parent | 6c08e6d5befb0729b5020e93a60fbbe381347b7d (diff) | |
download | sncontinue-a1f9bfd25c2df807ccc49be67b0bc0e57321c272.tar.gz sncontinue-a1f9bfd25c2df807ccc49be67b0bc0e57321c272.tar.bz2 sncontinue-a1f9bfd25c2df807ccc49be67b0bc0e57321c272.zip |
Revert "initial ideas"
This reverts commit 6c08e6d5befb0729b5020e93a60fbbe381347b7d.
Diffstat (limited to 'continuedev')
-rw-r--r-- | continuedev/src/continuedev/core/autopilot.py | 4 | ||||
-rw-r--r-- | continuedev/src/continuedev/server/gui.py | 3 | ||||
-rw-r--r-- | continuedev/src/continuedev/server/gui_protocol.py | 4 |
3 files changed, 0 insertions, 11 deletions
diff --git a/continuedev/src/continuedev/core/autopilot.py b/continuedev/src/continuedev/core/autopilot.py index 2ed77e4d..a6e688ae 100644 --- a/continuedev/src/continuedev/core/autopilot.py +++ b/continuedev/src/continuedev/core/autopilot.py @@ -45,10 +45,6 @@ class Autopilot(ContinueBaseModel): async def get_available_slash_commands(self) -> List[Dict]: return list(map(lambda x: {"name": x.name, "description": x.description}, self.continue_sdk.config.slash_commands)) or [] - async def change_default_model(self): - # TODO: Implement this - temp = self.continue_sdk.config.slash_commands - async def clear_history(self): self.history = History.from_empty() self._main_user_input_queue = [] diff --git a/continuedev/src/continuedev/server/gui.py b/continuedev/src/continuedev/server/gui.py index 53a5f16b..cf046734 100644 --- a/continuedev/src/continuedev/server/gui.py +++ b/continuedev/src/continuedev/server/gui.py @@ -116,9 +116,6 @@ class GUIProtocolServer(AbstractGUIProtocolServer): asyncio.create_task( self.session.autopilot.retry_at_index(index)) - def on_change_default_model(self): - asyncio.create_task(self.session.autopilot.change_default_model()) - def on_clear_history(self): asyncio.create_task(self.session.autopilot.clear_history()) diff --git a/continuedev/src/continuedev/server/gui_protocol.py b/continuedev/src/continuedev/server/gui_protocol.py index 66839d9b..d9506c6f 100644 --- a/continuedev/src/continuedev/server/gui_protocol.py +++ b/continuedev/src/continuedev/server/gui_protocol.py @@ -36,10 +36,6 @@ class AbstractGUIProtocolServer(ABC): """Called when the user requests a retry at a previous index""" @abstractmethod - def on_change_default_model(self): - """Called when the user requests to change the default model""" - - @abstractmethod def on_clear_history(self): """Called when the user requests to clear the history""" |