Package: continuedev
Continue PyPI PackageThis package contains theContinueserver 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 docshereor download the VS Code extensionhere.Continue ServerThe 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 serverMake sure packages are installed withpoetry installIf poetry is not installed, you can install withcurl-sSLhttps://install.python-poetry.org|python3-(official instructionshere)poetry shellto activate the virtual environmentpython3 -m continuedev.server.mainto start the serverOnce 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 thecontinuerepo, 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 thePython
extension.Scriptspoetry run typegento generate JSONSchema .json files from the Pydantic types defined in themodelsdirectory.poetry buildwill output wheel and tarball files in./dist.Writing StepsSee thecontinuedev/libs/stepsfolder for examples of writing a Continue step. See our documentation for tutorials.How to contributeOpen anew GitHub Issueor comment onan 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, seeCONTRIBUTING.md.Install from source1. Clone this repoRecommended: Run this command to use SSHgitclonegit@github.com:continuedev/continue.gitAlternative: Run this command to use HTTPSgitclonehttps://github.com/continuedev/continue2. Install ContinueRun this command to use the install scriptcdcontinue/extensions/vscode/scripts&&python3install_from_source.py[!IMPORTANT]
Ensure you have a Java Runtime Environment (JRE) installed. Verify this by typingjava -versionin 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.brewinstallopenjdk@11Understanding the codebaseContinue Server README: learn about the core of Continue, which can be downloaded as aPyPI packageVS 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 CodespacesContinue 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 IDESchema README: learn about the JSON Schema types generated from Pydantic models, which we use across theserver/andextensions/vscode/directoriesContinue Docs README: learn how ourdocsare written and builtHow to debug the VS Code Extension README: learn how to set up the VS Code extension, so you can debug it