Commit 724a0b1
committed
fix: use proper chat template for warmup prompt
The warmup was using an unformatted plain text prompt, causing the processor
to generate 0 tokens and leading to 'tokens: 0, features 256' error.
Updated performWarmup() to format the prompt using the same chat template
and system prompt as normal inference, ensuring proper tokenization.
Fixes the warmup failure error that appeared after refactoring.1 parent 24ceb51 commit 724a0b1
51 files changed
Lines changed: 1507 additions & 14711 deletions
File tree
- backups
- docs
- src/js
- components
- services
- plugins
- utils
- transitions
- tests
- e2e
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
This file was deleted.
0 commit comments