Comments (11)
Right now we aren't shipping with support for transformer.js in the JetBrains extension, which is causing the error you're seeing. In newer versions we will have more clear error messages.
Due to the way that docs currently works, it is coupled to transformers.js, so for the time being (though we will fix this soon), the docs context provider isn't supported in JetBrains. We are putting a lot more focus into JetBrains right now, so I hope to have an update for you soon!
from continue.
I believe that we were setting transformers.js as default when going through local onboarding, which is probably what caused that. Again something that is already fixed for the next release.
As you've noticed JetBrains is slightly behind, but there's been a pretty big push this week that will continue until it's up-to-date with VS Code, including much more frequent automated releases
from continue.
@akg83 Manually adding a @docs
via config.json
is a feature request -> #1442 and the implementation is currently in draft stage -> #1594
from continue.
@dandv @akg83 @fry69 this should be fixed with this PR: #1797
So, you still can't use transformers.js, but you should be able to index docs using any other provider.
Let me know if you have any issues!
from continue.
@akg83 thanks for the report! Could you share your config.json file?
from continue.
I don't even see "Add docs" in Pycharm:
Clicking the "Add more context providers" option takes me to https://docs.continue.dev/customization/context-providers#built-in-context-providers
from continue.
transformers.js, so for the time being (though we will fix this soon), the docs context provider isn't supported in JetBrains.
I've installed Continue in PyCharm, and do see this in config.json:
"embeddingsProvider": {
"provider": "transformers.js"
}
Was that intended, since transformers.js
doesn't work in JetBrains IDEs? Or have I pasted it from somewhere, and Continue ships with "provider": "free-trial"
by default?
from continue.
I don't even see "Add docs" in Pycharm:
Clicking the "Add more context providers" option takes me to https://docs.continue.dev/customization/context-providers#built-in-context-providers
This is not done by adding a context provider, it is done by typing @docs, so that the docs sub menu opens, then you can either choose one of the docs that are available with the continue.dev extension by default, or at the very bottom of this list you have an option to type a specific URL (which point to a documentation root) and add it so that continue.dev can index it and you can use it as doc.
I actually have PyCharm and can get to add a new "docs" URL by using my given instructions
from continue.
@akg83 thanks for the report! Could you share your config.json file?
sure here is my config json:
{ "models": [ { "title": "Ollama", "provider": "ollama", "model": "AUTODETECT" }, ], "slashCommands": [ { "name": "edit", "description": "Edit selected code" }, { "name": "comment", "description": "Write comments for the selected code" }, { "name": "share", "description": "Export this session as markdown" }, { "name": "cmd", "description": "Generate a shell command" } ], "customCommands": [ { "name": "test", "prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.", "description": "Write unit tests for highlighted code" } ], "contextProviders": [ { "name": "diff", "params": {} }, { "name": "open", "params": {} }, { "name": "terminal", "params": {} }, { "name": "problems", "params": {} }, { "name": "codebase", "params": {} }, { "name": "code", "params": {} }, { "name": "docs", "params": {} } ], "tabAutocompleteModel": { "title": "Starcoder 3b", "provider": "ollama", "model": "starcoder2:3b" }, "embeddingsProvider": { "provider": "transformers.js" } }
from continue.
@sestinj is there any way to "mannually" add custom @docs documentation item ? at least until that issue is fixed for InteliJ
from continue.
@akg83 Manually adding a
@docs
viaconfig.json
is a feature request -> #1442 and the implementation is currently in draft stage -> #1594
ahh ok, I thought of it is a temporary solution until the issue it self is resolved and a new jetBrains plugin is released. if so, makes more sense to wait for the fix in the net jetBrains plugin to come.
from continue.
Related Issues (20)
- Delete message button doesn't work HOT 2
- "useLegacyCompletionsEndpoint": false is not respected for Azure provider
- Local `.continueignore`s HOT 1
- Enhancing Release Note Generation through Automation
- A way to manually add additional URLs to a @Docs context HOT 3
- Autocompletion not working inside quotes/brackets
- Slow startup debugging HOT 2
- ctrl enter not using codebase HOT 2
- indexing error HOT 5
- Add access to internet for accessing latest documentation from within continue HOT 2
- Telemetry sent to posthog even with "allowAnonymousTelemetry: false" HOT 2
- Continue is initializsing,,. Rider 2024.2 ...Continue in vscode works fine with lmstudio
- Better difference for code differences
- IntelliJ: Create New Session not creating a session in history.
- Jetbrains Integration Codebase Context Bug with FTS Database HOT 2
- Codebase searches use limited context because modelChange event is apparently never sent
- Continue.dev is not showing any response from local openai compatible API.
- embedding provider incorrect for voyage?
- Large typescript files are silently not indexed
- Error: SQLITE_CONSTRAINT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from continue.