mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 10:57:45 +01:00
Pass names to Cohere prompt converter
This commit is contained in:
parent
ee62f77e96
commit
05ae571971
@ -566,7 +566,7 @@ async function sendCohereRequest(request, response) {
|
||||
}
|
||||
|
||||
try {
|
||||
const convertedHistory = convertCohereMessages(request.body.messages);
|
||||
const convertedHistory = convertCohereMessages(request.body.messages, request.body.char_name, request.body.user_name);
|
||||
|
||||
// https://docs.cohere.com/reference/chat
|
||||
const requestBody = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user