fix
This commit is contained in:
parent
90609632b4
commit
453220ddbe
1
Chat.go
1
Chat.go
@ -349,6 +349,7 @@ func generateHelpChatHTML() string {
|
|||||||
|
|
||||||
func generateEnterKeyChatHTML() string {
|
func generateEnterKeyChatHTML() string {
|
||||||
welcomeMessage := `
|
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 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>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>
|
<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>
|
||||||
|
@ -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="chat-input-container mb-5">
|
||||||
<div class="textarea-wrapper">
|
<div class="textarea-wrapper">
|
||||||
<div class="control" id="textarea-control">
|
<div class="control" id="textarea-control">
|
||||||
@ -35,6 +36,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var textareaControl = document.getElementById('textarea-control');
|
var textareaControl = document.getElementById('textarea-control');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user