No project description provided
Project description
Continue PyPI Package
This package contains the Continue server and core classes needed to build your own recipes.
Continue is a Python library for automating repetitive sequences of software development tasks using language models. Using our VS Code extension, you can build, run, and refine these recipes as they natively interact with your codebase. Read the docs here or download the VS Code extension here.
Continue Server
The Continue server acts as a bridge between the Continue React app and your IDE, running your recipes and acting on the codebase.
Start it by running the following commands:
cd server
- Make sure packages are installed with
poetry install
- If poetry is not installed, you can install with
curl -sSL https://install.python-poetry.org | python3 -
(official instructions here) poetry shell
to activate the virtual environmentpython3 -m continuedev.server.main
to start the server
Once you've validated that this works, you'll often want to use a debugger, in which case we've provided a launch configuration for VS Code in .vscode/launch.json
. To start the debugger in VS Code, ensure that the workspace directory is the root of the continue
repo, then press F5.
[!NOTE] To start the debugger, you'll have to select the poetry Python interpreter (
/path-to-poetry-venv/bin/python3
) in the bottom right of the VS Code window. If you don't see this, you may have to install the Python extension.
Scripts
poetry run typegen
to generate JSONSchema .json files from the Pydantic types defined in the models
directory.
poetry build
will output wheel and tarball files in ./dist
.
Writing Steps
See the continuedev/libs/steps
folder for examples of writing a Continue step. See our documentation for tutorials.
How to contribute
Open a new GitHub Issue or comment on an existing one. Let us know what you would like to contribute, and we will help you make it happen!
For more a more detailed contributing guide, see CONTRIBUTING.md.
Install from source
1. Clone this repo
Recommended: Run this command to use SSH
git clone git@github.com:continuedev/continue.git
Alternative: Run this command to use HTTPS
git clone https://github.com/continuedev/continue
2. Install Continue
Run this command to use the install script
cd continue/extensions/vscode/scripts && python3 install_from_source.py
[!IMPORTANT] Ensure you have a Java Runtime Environment (JRE) installed. Verify this by typing
java -version
in your command prompt or terminal. If a version number appears, you're set. If not, download and install a JRE from Oracle's website or through a package manager, for example Homebrew.brew install openjdk@11
Understanding the codebase
- Continue Server README: learn about the core of Continue, which can be downloaded as a PyPI package
- VS Code Extension README: learn about the capabilities of our extension—the first implementation of Continue's IDE Protocol—which makes it possible to use use Continue in VS Code and GitHub Codespaces
- Continue GUI README: learn about the React app that lets users interact with the server and is placed adjacent to the text editor in any supported IDE
- Schema README: learn about the JSON Schema types generated from Pydantic models, which we use across the
server/
andextensions/vscode/
directories - Continue Docs README: learn how our docs are written and built
- How to debug the VS Code Extension README: learn how to set up the VS Code extension, so you can debug it
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file continuedev-0.1.104.tar.gz
.
File metadata
- Download URL: continuedev-0.1.104.tar.gz
- Upload date:
- Size: 155.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.8 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5661ae0fb2cdd6dd6d55b1c100421196116f12696d77cc5323d42caae243f5 |
|
MD5 | 594c2950ea2a489052f5da3622959f6d |
|
BLAKE2b-256 | 604f5d80faa3787cc15f3f2f666616f5729513a1b7018851fd383c6713cbd021 |
File details
Details for the file continuedev-0.1.104-py3-none-any.whl
.
File metadata
- Download URL: continuedev-0.1.104-py3-none-any.whl
- Upload date:
- Size: 216.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.8 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1c1d7e584940ff77ac5fe9a256fd53688ffacac4cea4d27d7135272ea14a01 |
|
MD5 | a512b01f6308b198d882991ff3c08059 |
|
BLAKE2b-256 | d5843ddd032e2ea2179918b9edfb5be8130320bcd960bfbab21e8699246913db |