Comments (7)
Thank you, I was using /clear
and /config
. Currently everything works fine, I'll try to get more info if this happens again.
from continue.
Good catch, this is an easy fix. The next version I release today will have this update
And I'll look for the command problem—do you remember which of the commands you were using?
from continue.
if you were using clear while only the welcome message was showing, we previously would replace it immediately, which could be what you were experiencing
from continue.
Possible.
Just noticed that Continue uses system message not exactly as I expected (the model expects prompt in specific format, but it just adds system message into <System> part instead of replacing the whole prompt), where should I look, to configure custom prompt format?
![изображение](https://user-images.githubusercontent.com/6587642/264467840-43d50bc8-b17e-411e-93ee-badb56e677c1.png)
from continue.
Could you share which model class you are using? (e.g. GGML, Ollama, etc...)
It's actually misleading that it says "exact prompt" here, and I need to update that. The <System>/<User> things here are just for display and we actually format in the expected llama2 format behind the scenes (just need to make this transparent)
And I've only added this to the LlamaCpp class so far, but will soon add to all of them: You can edit the chat template by changing the parameter: template_messages: Callable[[List[ChatMessage]], str] = code_llama_template_messages
to a custom callback function. The ones we use by default are here
from continue.
Got it, thank you. I am using GGML class.
from continue.
Ok, good to know. In that case, the messages, including system, are just passed as json objects, so there isn't much room for error (or customization, it's up to the other server to do the formatting). I'm going to close this issue as the main problem is resolved. And if the second one comes up again I think it would probably be good to have a separate issue. Feel free to reopen if needed!
from continue.
Related Issues (20)
- Continue is throwing an error and not working on startup HOT 5
- How to run in IntelliJ IDEA HOT 4
- Support for pdf file context provider HOT 4
- No module named 'continuedev.src' HOT 2
- Issues building from source with the 'install_from_source.py' script HOT 2
- Compatibility: Migrate from Legacy Completion to Chat API (OpenAI) HOT 4
- Compatibility: LLama Message Order HOT 6
- feature request: Add a new option to disable summaries HOT 5
- System Message not being sent to llama.cpp HOT 3
- Issue running codellama/phind-codellama based model with FastChat OpenAI API HOT 6
- Unable to download `run` and `melisearch` HOT 7
- continue displays empty results when using ollama v0.0.20 HOT 4
- Completion instead of Completions HOT 7
- aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed HOT 3
- Allow edits to an earlier prompt and resume session from edited prompt HOT 3
- Crashing of vscode after installed the extension HOT 14
- "No Code Selected" error HOT 3
- /edit does not do anything with Ollama v0.0.21 HOT 14
- Continue always opens on new VSCode windows HOT 2
- cmd+m doesn't work for Jupyter Notebook outputs HOT 1
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.