Older versions of the Google API apparently didn't support passing a "system" parameter so a shim was used here to convert such a parameter into the first user message instead. This is no longer necessary as of the v1beta API, so this change makes sure the shim is only applied if the user has specified API version v1. I should also note that there may still be a bug with this method if using v1; the reason I found this is I was experiencing a bug where the message ultimately being sent after applying the shim was [Object] [object] or something like that. I fixed it this way because the system message shouldn't be removed with v1beta (and presumably later versions) |
||
|---|---|---|
| .changes | ||
| .github | ||
| .idea | ||
| .vscode | ||
| archive | ||
| binary | ||
| core | ||
| docs | ||
| extensions | ||
| gui | ||
| media | ||
| scripts | ||
| sync | ||
| .changie.yaml | ||
| .continueignore | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierrc | ||
| biome.json | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
Continue
Continue enables you to create your own AI code assistant inside your IDE. Keep your developers in flow with open-source VS Code and JetBrains extensions that can be connected to any model, any context, and anything else you need
Easily understand code sections
VS Code: cmd+L (MacOS) / ctrl+L (Windows)
JetBrains: cmd+J (MacOS) / ctrl+J (Windows)
Tab to autocomplete code suggestions
VS Code: tab (MacOS) / tab (Windows)
JetBrains: tab (MacOS) / tab (Windows)
Refactor functions where you are coding
VS Code: cmd+I (MacOS) / ctrl+I (Windows)
JetBrains: cmd+I (MacOS) / ctrl+I (Windows)
Ask questions about your codebase
VS Code: cmd+enter (MacOS) / ctrl+enter (Windows)
JetBrains: cmd+enter (MacOS) / ctrl+enter (Windows)
Quickly use documentation as context
VS Code: @docs (MacOS) / @docs (Windows)
JetBrains: @docs (MacOS) / @docs (Windows)
Getting Started
Download for VS Code and JetBrains
You can try out Continue with our free trial models before configuring your setup.
Learn more about the models and providers here.
Contributing
Check out the contribution ideas board, read the contributing guide, and join #contribute on Discord





