Commit graph

723 commits

Author SHA1 Message Date
Patrick Erichsen
6cf0102875
feat: make disabled state a tooltip (#1653) 2024-07-03 09:19:34 -05:00
Nate Sesti
2d892fab7d Nate/indexing fixes (#1642)
* fix pausing of indexing

* don't send empty array to openai embeddings

* catch embeddings errors without stopping entire indexing process
2024-07-02 18:40:21 -07:00
Nate Sesti
7a8335545b add back skip onboarding button 2024-07-02 18:40:21 -07:00
Patrick Erichsen
8f409e251a chore: onboarding metrics (#1626)
* fix: pageview tracking

* feat: add onboarding telemetry

* create single `onboardingStatus` type

* improved var naming

* remove console logs
2024-07-02 18:39:57 -07:00
Patrick Erichsen
9bae5a254d feat: add free trial card to onboarding (#1600)
* feat: add free trial card to onboarding

* add import
2024-07-02 18:36:30 -07:00
Patrick Erichsen
8b305046ef feat: add best experience onboarding 2024-07-02 18:36:30 -07:00
Nate Sesti
366acf4c0e media query 2024-07-02 18:35:48 -07:00
Nate Sesti
d321032b28 small UI tweaks 2024-07-02 18:35:48 -07:00
Patrick Erichsen
5df81770df fix: remove testing logic 2024-07-02 18:35:48 -07:00
Patrick Erichsen
ed56c8f7f3 feat: update onboarding w/ embeddings model (#1570)
* chore(gui): remove unused pages

* feat: add embeddings step

* feat: update styles

* feat: copy button updates

* fix: correct pull command for embed model

* fix: remove commented code

* fix: remove commented code

* feat: simplify copy btn props

* chore: rename onboarding selection event

* feat: add provider config

* fix: undo msg name

* remove dead code

* fix: invalid mode check
2024-07-02 18:35:48 -07:00
Nate Sesti
34b40f4f53
Dev (#1627)
* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* add voyage rerank-1

* import Handlebars

* feat: open pane on install (#1564)

* feat: open pane on activation

* comment out testing code

* chore: add telemetry for pageviews (#1576)

* feat: update onboarding w/ embeddings model (#1570)

* chore(gui): remove unused pages

* feat: add embeddings step

* feat: update styles

* feat: copy button updates

* fix: correct pull command for embed model

* fix: remove commented code

* fix: remove commented code

* feat: simplify copy btn props

* chore: rename onboarding selection event

* feat: add provider config

* fix: undo msg name

* remove dead code

* fix: invalid mode check

* fix: remove testing logic

* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582)

* small UI tweaks

* media query

* feat: add best experience onboarding

* small fixes

* feat: add free trial card to onboarding (#1600)

* feat: add free trial card to onboarding

* add import

* chore: add telemetry for full screen toggle (#1618)

* rerank-lite-1

* remove doccs

* basic tests for VS Code extension

* improved testing of VS Code extension

* manually implement stop tokens for hf inference api

* chore: onboarding metrics (#1626)

* fix: pageview tracking

* feat: add onboarding telemetry

* create single `onboardingStatus` type

* improved var naming

* remove console logs

* fix windows performance issue

* rename vscodeExtension.ts

* migration of onboarding variables

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
2024-07-01 21:34:06 -07:00
Nate Sesti
04c08c7159
dev (#1542)
* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* fix(gui): ctx rendering w/ renderInlineAs: "" (#1541)

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* fix codeqwen autocomplete leading space

* add voyage rerank-1

* feat: `--noEmit` for tsc checks in CI (#1559)

* docs: update CustomContextProvider docs (#1557)

* add stop tokens to qwen prompt

* update docs to reflect 3.5 sonnet being best

* docs: comment out unused providers (#1561)

* import Handlebars

* feat: toast notification for config updates (#1560)

* feat: toast notification for config updates

* feat: only trigger toast on config.json save

* displayRawMarkdown option

* feat: open pane on install (#1564)

* feat: open pane on activation

* comment out testing code

* update to reflect 16 stop words limit for deepseek

* feat: only trigger config update toast in vscode (#1571)

* docs(prompt-files): fix typos + clarify (#1575)

* doc: prompt file typo + clarifications

* fix: add back correct docs

* chore: add telemetry for pageviews (#1576)

* feat: update onboarding w/ embeddings model (#1570)

* chore(gui): remove unused pages

* feat: add embeddings step

* feat: update styles

* feat: copy button updates

* fix: correct pull command for embed model

* fix: remove commented code

* fix: remove commented code

* feat: simplify copy btn props

* chore: rename onboarding selection event

* feat: add provider config

* fix: undo msg name

* remove dead code

* fix: invalid mode check

* fix: remove testing logic

* docs(telemetry): add pageviews to tracking list (#1581)

* Add reranker configuration options to codebase embedding docs (#1584)

- Introduce reranker concept
- List available reranker options
- Provide configuration instructions
- Update keywords to include "reranker"

* chore: update pr template with screenshots (#1590)

* Refactor ConfirmationDialog to use SecondaryButton for cancel action (#1586)

* Added instructions for running docs server locally (#1578)

- Added NPM script method
- Added VS Code task method
- Update contributing guidelines

* Update branch policy (#1577)

- Change PR target to `dev` branch
- Update `CONTRIBUTING.md` instructions

* Consolidate example configurations into the main configuration guide (#1579)

- Moved examples to configuration.md
- Deleted the separate examples.md file
- Updated sidebar order and links
- Improved readability and structure in configuration.md

* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582)

* Update completionProvider.ts (warning tab-autocomplete models) (#1566)

* feat: enhanced IndexingProgressBar with blinking dot feature

- Integrated BlinkingDot component
- Added STATUS_COLORS for various states
- Replaced CircleDiv with BlinkingDot in UI
- Updated status messages and layout

* small UI tweaks

* feat(gui): enhance ModelCard, ModelProviderTag, and Toggle components (#1595)

- add styling and adjustments to ModelCard
- update ModelProviderTag font size
- remove box shadow from Toggle component
- tweak icon styles in ModelCard
- improve alignment and spacing

* media query

* feat: add best experience onboarding

* fix: file rename

* stop movement on button hover by keeping same border thickness

* fix mistake in setting cursor: pointer

* fix when free trial option is shown

* Support Node.js versions below 20 for streaming response handling (#1591)

- Add fallback for Node < 20
- Implement toAsyncIterable for streaming
- Use TextDecoder for manual decoding
- Maintain existing streaming for Node 20+

* small fixes

* feat: add free trial card to onboarding (#1600)

* feat: add free trial card to onboarding

* add import

* fix hasPassedFTL

* fix /edit cancellation from UI

* feat: add `applyCodeBlock` experimental prop (#1601)

* feat: add new model styling improvements (#1609)

* feat: add new model styling improvements

* better gap size

* feat: update bug_report.yml (#1610)

* chore: update bug_report.yml

* typo fix

* feat: add labels to "Add docs" dialog (#1612)

* feat: add labels to "Add docs" dialog

* remove autofocus

* don't double load config

* small fixes

* speed up directory traversal, and use correct native path module

* option not to show config update toast

* merge air-gapped and recommended setup pages

* chore: add telemetry for full screen toggle (#1618)

* Fix headings in codebase-embeddings.md (#1617)

* mention jetbrains

* docs: update changie  (#1619)

* feat: updated changie config

* hide toc and autogenerate

* Update changelog.mdx

* link to deeper explanation of embeddings models

* ensure target="_blank" for all links in sidebar

* fix gif links in intellij README.md

* don't require rust in dependency installation

* chore: fix padding on gh button (#1620)

* chore: adjust button padding

* Update tasks.json

* escape colons in diff path

* smoother lancedb indexing reporting

* smooth progress updates for indexing

* fix tsc err

* rerank-lite-1

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Priyash <38959321+priyashpatil@users.noreply.github.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
Co-authored-by: YohannZe <99359799+YohannZe@users.noreply.github.com>
Co-authored-by: Dan Dascalescu <ddascalescu+github@gmail.com>
2024-06-28 16:21:36 -07:00
Nate Sesti
1c68b72621 Merge branch 'main' of https://github.com/ashokgelal/continue into ashokgelal-main 2024-06-27 17:47:52 -07:00
Jonah Wagner
6407458d76
fix: autocomplete label after selecting a query type context provider (#1562)
* fix: autocomplete label after selecting a query type context

* fix: resolved issue causing unintentional changes to editor
2024-06-25 12:20:44 -07:00
Jonah Wagner
574a3923a6
fix: preserve indentation in code blocks (#1554) 2024-06-23 22:55:08 -07:00
Nate Sesti
650daf068e button to skip onboarding 2024-06-23 19:19:34 -07:00
Nate Sesti
ca884b8212
fix ollama onboarding (#1539)
* allow setting apiBase for bedrock provider

* ⚡️ better linking

* ✨ new prompt file action

* ⚡️ strip <COMPLETION> from GPT-4 completion

* continue proxy FIM support

* warn user if potentially dangerous command is generated

* tab autocomplete docs

* docs: update PR template (#1531)

* chore: add docs to install script (#1533)

* fix(extensions): schema for db ctx provider (#1534)

* fix(extensions): schema for db ctx provider

* fix: invalid enum

* prettierignore

* docs: add docs and schema for "OS" provider (#1536)

* tests (#1501)

* 👷 CI for jetbrains

* default working dir

* changelog

* build binaries

* binary testing setup

* idesettings

* core binary testing

* run binary tests in ci

* remove unused targets

* needs build

* console.log bin contents

* fix ci

* fix win32 binary download

* test

* no linux arm64

* macos latest

* macos-12

* binary permissions

* upload logs

* fix

* upload full folder as binary artifact

* test

* test macos only

* set full execute permissions

* copy sqlite binary

* cd

* it worked!

* build again in test job

* debug

* remove timeout

* info

* log

* log2

* more logs

* catch

* fewer logs

* test all platforms

* test downloaded artifact

* needs build

* updates

* build

* false

* release

* add tag and upload binaryes

* change tag name

* proper artifact upload

* jest updates

* ✅ generate a few unit tests with Continue

* fix imports related to IdeSettings

* run tsc on PRs

* remove shareSession command (unused)

* update release process

* update plugin version

* don't show ghost text when jetbrains completion visible

* run jetbrains ci in main

* check ts in dev

* ignore .env

* 🚑 fix constant warnings when onboarding with Ollama

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-06-21 11:09:03 -07:00
Nate Sesti
a5f3a4d75b tweak claude3.5 display 2024-06-20 17:45:49 -07:00
Nate Sesti
c0705b3631 ✨ claude 3.5 sonnet 2024-06-20 17:41:58 -07:00
Nate Sesti
838c2f7369 avoid null values in config.json 2024-06-20 17:18:59 -07:00
Nate Sesti
5fe26de771 use a default apiVersion 2024-06-20 17:18:28 -07:00
Patrick Erichsen
3d53809082 fix(gui): typo 2024-06-20 12:05:14 -05:00
Patrick Erichsen
1847317436 feat: update docs and input labelling 2024-06-20 11:54:28 -05:00
Patrick Erichsen
d39fd552d1 Merge branch 'preview' into pe/azure-gui-selection 2024-06-20 11:35:33 -05:00
Patrick Erichsen
e11206b0fa feat(gui): more config for azure provider 2024-06-20 11:34:10 -05:00
Patrick Erichsen
b7c0623ac6 feat(gui): Add Azure as a provider 2024-06-19 22:20:20 -05:00
Patrick Erichsen
f1b97f1039 refactor(gui): break down model config components 2024-06-19 17:29:57 -05:00
Nate Sesti
58a04caa94
Dev (#1521)
* allow setting apiBase for bedrock provider

* ⚡️ better linking

* ✨ new prompt file action

* ⚡️ strip <COMPLETION> from GPT-4 completion

* continue proxy FIM support

* warn user if potentially dangerous command is generated

* tab autocomplete docs
2024-06-19 14:39:23 -07:00
Tijs Zwinkels
cecbdf3ecc
Project file path in LLM context for highlighted code (#1509) 2024-06-18 18:44:21 -07:00
Nate Sesti
8a75e0f7af 🐛 fix split of undefined bug 2024-06-17 00:52:22 -07:00
Nate Sesti
4f8e907d05
Improved code linking (#1500)
* allow setting apiBase for bedrock provider

* ⚡️ better linking

* ✨ new prompt file action

* ⚡️ strip <COMPLETION> from GPT-4 completion
2024-06-16 19:54:32 -07:00
Ruben Kostandyan
38b1f54b0d
Bedrock client refactoring and move to @aws-sdk/credential-providers (#1491)
* Refactor Bedrock LLM client

- Removed unused AWS auth logic
- Simplified message/content conversion

* Improve AWS credentials handling for Bedrock models
- Using @aws-sdk/credential-providers to support wider range of credential provider options
- Removing custom logic of parsing aws credentials file

---------

Co-authored-by: Ruben Kostandyan <kostard@amazon.com>
2024-06-16 10:35:02 -07:00
Scott Schluer
78d6ee815b
CON-240: Updated FileContextProvider, FolderContextProvider and useSubmenuContextProvider to increment display of path parts to ensure unique displays when duplicates exist in the items list (#1494) 2024-06-16 10:31:26 -07:00
Nate Sesti
8f6d7ae0fd small color theme fix 2024-06-13 22:09:37 -07:00
Nate Sesti
b2c150cdde update version 2024-06-13 21:47:23 -07:00
Nate Sesti
6c6c6d51d1 🐛 a few jetbrains fixes 2024-06-13 21:10:58 -07:00
Nate Sesti
63abda81ae ✨ many jetbrains improvements 2024-06-13 14:53:26 -07:00
Nate Sesti
e2a90ae521 🐛 remove parsing response 2024-06-12 17:05:13 -07:00
Nate Sesti
c08b302e73 small tweaks to session title input 2024-06-11 14:00:50 -07:00
Nate Sesti
52daee8887 Merge branch 'add-history-tittle-change' of https://github.com/priyashpatil/continue into priyashpatil-add-history-tittle-change 2024-06-11 13:54:21 -07:00
Nate Sesti
d9ff68c750
allow comments in config.json (#1470)
* ✨ comments in config.json

* ✨ file association for .jsonc
2024-06-11 13:51:53 -07:00
Nate Sesti
ecd7a81a6c 🚧 wip icons for context providers 2024-06-11 13:31:39 -07:00
Nate Sesti
894e1a3ffb ✨ switch between autocomplete models 2024-06-11 13:31:01 -07:00
Nate Sesti
d6a3b48a60 improve line numbers for linking 2024-06-11 09:34:49 -07:00
Nate Sesti
0bbd9dcd0d ✨ code linking 2024-06-11 00:04:39 -07:00
Nate Sesti
c15e9787d9 no multiline if midline 2024-06-10 14:14:37 -07:00
Nate Sesti
36e2215f43 ✨ deepseek provider 2024-06-10 00:19:36 -07:00
Priyash Patil
1b32222c10 feat(gui): add ability to change the session title 2024-06-08 12:47:07 +05:30
Nate Sesti
6abdb3677c better terminal code block detection 2024-06-07 10:29:18 -07:00
Nate Sesti
e76082b62c update intellij version 2024-06-06 00:54:22 -07:00