mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add xAI as chat completion source
This commit is contained in:
@ -413,7 +413,7 @@ export function convertGooglePrompt(messages, model, useSysPrompt, names) {
|
||||
}
|
||||
}
|
||||
|
||||
const system_instruction = { parts: [{ text: sys_prompt.trim() }]};
|
||||
const system_instruction = { parts: [{ text: sys_prompt.trim() }] };
|
||||
const toolNameMap = {};
|
||||
|
||||
const contents = [];
|
||||
|
Reference in New Issue
Block a user