continue-custom/continuedev
2023-08-29 10:39:25 -07:00
..
src feat: 🔇 complete removal of telemetry when allow_anonymous_telemetry false 2023-08-29 10:39:25 -07:00
.gitignore docs: 📝 ollama customization docs 2023-08-01 01:34:05 -07:00
__init__.py copying from old repo 2023-05-23 23:45:12 -04:00
install-dependencies.sh Added a task to install all dependencies from top level without having to figure out commands in multiple sub projects. Developers should run this before the first debugging session and anytime they pull 2023-08-06 18:49:50 -07:00
main.py ci: 💚 fix file structure for pyinstaller, main.yaml updates 2023-07-31 22:27:08 -07:00
notes.md tweaks 2023-07-24 23:12:49 -07:00
poetry.lock Config UI (#399) 2023-08-22 13:12:58 -07:00
poetry.toml copying from old repo 2023-05-23 23:45:12 -04:00
pyproject.toml Config UI (#399) 2023-08-22 13:12:58 -07:00
README.md point links to correct paths 2023-07-31 13:42:13 +01:00
requirements.txt Testing gh workflow (#401) 2023-08-23 14:44:33 -07:00

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:

  1. cd continuedev
  2. 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)
  3. poetry shell to activate the virtual environment
  4. cd ..
  5. python3 -m continuedev.src.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 src/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/extension/scripts && python3 install_from_source.py

Understanding the codebase