mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 09:26:33 +01:00
Add new Claude instant model
This commit is contained in:
parent
6e0a50b71a
commit
706be4390d
@ -1834,6 +1834,7 @@
|
||||
<option value="claude-v1.3-100k">claude-v1.3-100k</option>
|
||||
<option value="claude-v1.2">claude-v1.2</option>
|
||||
<option value="claude-v1.0">claude-v1.0</option>
|
||||
<option value="claude-instant-1.2">claude-instant-1.2</option>
|
||||
<option value="claude-instant-v1.1">claude-instant-v1.1</option>
|
||||
<option value="claude-instant-v1.1-100k">claude-instant-v1.1-100k</option>
|
||||
<option value="claude-instant-v1.0">claude-instant-v1.0</option>
|
||||
|
@ -2587,7 +2587,7 @@ async function onModelChange() {
|
||||
if (oai_settings.max_context_unlocked) {
|
||||
$('#openai_max_context').attr('max', unlocked_max);
|
||||
}
|
||||
else if (value.endsWith('100k') || value.startsWith('claude-2')) {
|
||||
else if (value.endsWith('100k') || value.startsWith('claude-2') || value === 'claude-instant-1.2') {
|
||||
$('#openai_max_context').attr('max', claude_100k_max);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user