-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(codypy): Restructure codypy module for better separation of …
…concerns - Extract CodyServer class into separate server.py module - Rename cody_py.py to agent.py and remove CodyServer class - Move get_remote_repositories and receive_webviewmessage functions to utils.py - Update imports and references in affected files - Simplify CodyAgent initialization in main.py - Rename "Claude 1.2 Instant" to "Claude Instant" in client_info.py This refactor aims to improve the structure and organization of the codypy module by separating the server-related functionality into its own module and renaming files to better reflect their purpose. The changes also simplify the usage of the CodyAgent class in the main script.
- Loading branch information
Showing
6 changed files
with
225 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
Models, | ||
ModelSpec, | ||
) | ||
from .cody_py import CodyAgent, CodyServer | ||
from .config import ( | ||
BLACK, | ||
BLUE, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.