mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-03 22:05:35 +02:00
backwards compatibility for llama
This commit is contained in:
parent
f329967292
commit
056e1bce53
1 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,10 @@ export class VLLM {
|
|||
async sendRequest(turns, systemMessage, stop_seq = '***') {
|
||||
let messages = [{ 'role': 'system', 'content': systemMessage }].concat(turns);
|
||||
|
||||
messages = strictFormat(messages);
|
||||
if (this.model_name.includes("deepseek") || this.model_name.inclues("qwen")) {
|
||||
messages = strictFormat(messages);
|
||||
}
|
||||
|
||||
|
||||
const pack = {
|
||||
model: this.model_name || "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
|
||||
|
|
Loading…
Add table
Reference in a new issue