mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-01 04:45:40 +02:00
Update huggingface.js
Fixed an accidental enter
This commit is contained in:
parent
296fb1323c
commit
44be97adc4
1 changed files with 1 additions and 2 deletions
|
@ -25,8 +25,7 @@ export class HuggingFace {
|
|||
const prompt = toSinglePrompt(turns, null, stop_seq);
|
||||
const model_name = this.model_name || 'meta-llama/Meta-Llama-3-8B';
|
||||
const logInputMessages = [{role: 'system', content: systemMessage}, ...turns];
|
||||
const input = systemMessage + "
|
||||
" + prompt;
|
||||
const input = systemMessage + "" + prompt;
|
||||
const maxAttempts = 5;
|
||||
let attempt = 0;
|
||||
let finalRes = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue