Add a model config option to disable system prompts #1432
Labels
back
This issue is related to the Svelte backend or the DB
enhancement
New feature or request
models
This issue is related to model performance/reliability
Describe your feature request
Some models don't support system prompts and if you try to use the
system
role in their chat template they throw an error. We should add a config option in the model definition to specify that system prompts are not supported. In that case weImplementation idea
add a
systemPrompt: true|false
in themodelConfig
which will trigger logic to filter outrole: 'system'
messages and preprend the content of the first one to the first user messageSolves #1386
The text was updated successfully, but these errors were encountered: