fix: tts request content-type

This commit is contained in:
jialin
2025-11-05 17:09:16 +08:00
parent 333b430b97
commit 6173f3b459
9 changed files with 65 additions and 33 deletions
+8 -6
View File
@@ -209,9 +209,9 @@ export default {
'models.mymodels.status.degrade': 'Abnormal',
'models.mymodels.status.active': 'Active',
'models.form.kvCache.tips':
'Available only with built-in backends (vLLM / SGLang) switch backend in <span class="bold-text">Advanced</span> to enable.',
'Extended KV cache and speculative decoding are only available with built-in backends (vLLM / SGLang), Please switch the backend in the <span class="bold-text">Advanced</span> settings to enable them.',
'models.form.kvCache.tips2':
'Extended KV cache is only supported when using built-in inference backends (vLLM or SGLang).',
'Only supported when using built-in inference backends (vLLM or SGLang).',
'models.form.scheduling': 'Scheduling',
'models.form.ramRatio': 'RAM-to-VRAM Ratio',
'models.form.ramSize': 'Maximum RAM Size (GiB)',
@@ -237,7 +237,8 @@ export default {
'models.form.draftModel.placeholder': 'Please select or enter a draft model',
'models.form.draftModel.tips':
'You can enter a local path (e.g., /path/to/model) or select a model from Hugging Face or ModelScope (e.g., Tengyunw/qwen3_8b_eagle3). The system will automatically match based on the primary model source.',
'models.form.quantization': 'Quantization'
'models.form.quantization': 'Quantization',
'models.form.backend.custom': 'User Defined'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -282,8 +283,8 @@ export default {
// 41. 'models.mymodels.status.degrade': 'Abnormal',
// 42. 'models.mymodels.status.active': 'Active'
// 43. 'models.form.remoteURL.tips': 'Refer to the <a href="https://docs.lmcache.ai/api_reference/configurations.html" target="_blank">configuration documentation</a> for details.',
// 44. 'models.form.kvCache.tips': 'Available only with built-in backends (vLLM / SGLang) switch backend in <span class="bold-text">Advanced</span> to enable.'
// 45. 'models.form.kvCache.tips2': 'Extended KV cache is only supported when using built-in inference backends (vLLM or SGLang).',
// 44. 'models.form.kvCache.tips': 'Extended KV cache and speculative decoding are only available with built-in backends (vLLM / SGLang), Please switch the backend in the <span class="bold-text">Advanced</span> settings to enable them.',
// 45. 'models.form.kvCache.tips2': 'Only supported when using built-in inference backends (vLLM or SGLang).',
// 46. 'models.form.scheduling': 'Scheduling',
// 47. 'models.form.ramRatio': 'RAM-to-VRAM Ratio',
// 48. 'models.form.ramSize': 'Maximum RAM Size (GiB)',
@@ -304,5 +305,6 @@ export default {
// 44. 'models.form.mode.baseline.tips': 'the most compatible option with full precision,
// 45. 'models.form.draftModel.placeholder': 'Please select or enter a draft model',
// 46. 'models.form.draftModel.tips': 'You can enter a local path (e.g., /path/to/model) or select a model from Hugging Face or ModelScope (e.g., Tengyunw/qwen3_8b_eagle3). The system will automatically match based on the primary model source.'
// 47. 'models.form.quantization': 'Quantization'
// 47. 'models.form.quantization': 'Quantization',
// 48. 'models.form.backend.custom': 'User Defined'
// ========== End of To-Do List ==========