mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fixes for OpenAI groups
This commit is contained in:
@ -243,9 +243,6 @@
|
|||||||
<select id="model_openai_select">
|
<select id="model_openai_select">
|
||||||
<option value="gpt-3.5-turbo">gpt-3.5-turbo</option>
|
<option value="gpt-3.5-turbo">gpt-3.5-turbo</option>
|
||||||
<option value="gpt-3.5-turbo-0301">gpt-3.5-turbo-0301</option>
|
<option value="gpt-3.5-turbo-0301">gpt-3.5-turbo-0301</option>
|
||||||
<option value="text-davinci-003">text-davinci-003</option>
|
|
||||||
<option value="text-davinci-002">text-davinci-002</option>
|
|
||||||
<option value="code-davinci-002">code-davinci-002</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div id="textgenerationwebui_api-presets">
|
<div id="textgenerationwebui_api-presets">
|
||||||
|
@ -84,7 +84,7 @@ function setOpenAIMessages(chat) {
|
|||||||
|
|
||||||
// for groups - prepend a character's name
|
// for groups - prepend a character's name
|
||||||
if (selected_group) {
|
if (selected_group) {
|
||||||
content = `${name2}: ${content}`;
|
content = `${chat[j].name}: ${content}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// system messages produce no content
|
// system messages produce no content
|
||||||
|
Reference in New Issue
Block a user