fix: route ai polish through available models
This commit is contained in:
@@ -200,6 +200,7 @@ export const useChat = (options = {}) => {
|
||||
body: JSON.stringify({
|
||||
text: content,
|
||||
system_prompt: options.systemPrompt || '',
|
||||
model: options.model || '',
|
||||
mode,
|
||||
target_language: options.targetLanguage || (mode === 'chat' ? 'keep' : 'en')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user