mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Claude disclaimer
This commit is contained in:
@ -1377,6 +1377,14 @@
|
|||||||
</form>
|
</form>
|
||||||
<form id="claude_form">
|
<form id="claude_form">
|
||||||
<h4>Claude API Key</h4>
|
<h4>Claude API Key</h4>
|
||||||
|
<div>
|
||||||
|
Get your key from <a target="_blank" href="https://console.anthropic.com/account/keys">Anthropic's developer console</a>.
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<b>
|
||||||
|
Slack and Poe cookies will not work here, do not bother trying.
|
||||||
|
</b>
|
||||||
|
</div>
|
||||||
<div class="flex-container">
|
<div class="flex-container">
|
||||||
<input id="api_key_claude" name="api_key_claude" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
|
<input id="api_key_claude" name="api_key_claude" class="text_pole flex1" maxlength="500" value="" type="text" autocomplete="off">
|
||||||
<div title="Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_claude"></div>
|
<div title="Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_claude"></div>
|
||||||
|
@ -1022,7 +1022,7 @@ async function getStatusOpen() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (oai_settings.chat_completion_source == chat_completion_sources.CLAUDE) {
|
if (oai_settings.chat_completion_source == chat_completion_sources.CLAUDE) {
|
||||||
let status = 'I can\'t validate your key, but I hope it is legit.';
|
let status = 'Unable to verify key; assuming it\'s valid.';
|
||||||
setOnlineStatus(status);
|
setOnlineStatus(status);
|
||||||
return resultCheckStatusOpen();
|
return resultCheckStatusOpen();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user