This commit is contained in:
Adrien Bouvais 2024-06-01 23:13:26 +02:00
parent 90609632b4
commit 453220ddbe
2 changed files with 4 additions and 1 deletions

View File

@ -349,6 +349,7 @@ func generateHelpChatHTML() string {
func generateEnterKeyChatHTML() string {
welcomeMessage := `
<h1>API keys</h1>
<p class="mt-2">JADE require at least one API key to work. Add one in the settings at the bottom right of the page.</p>
<p>API keys are unique codes that allow you to access and use different Large Language Model (LLM) providers.</p>
<p>Most providers offer free credits when you first sign up or per month, which means you have a balance in your account that you can use to generate messages.</p>

View File

@ -1,4 +1,5 @@
{% if IsSubscribed or not IsLimiteReached or not IsLogin %}
{% if IsLogin %}
{% if IsSubscribed or not IsLimiteReached %}
<div class="chat-input-container mb-5">
<div class="textarea-wrapper">
<div class="control" id="textarea-control">
@ -35,6 +36,7 @@
</div>
</div>
{% endif %}
{% endif %}
<script>
var textareaControl = document.getElementById('textarea-control');