Some fixs
This commit is contained in:
parent
e1197f0c47
commit
25ae1337ff
1
Chat.go
1
Chat.go
@ -427,6 +427,7 @@ func generateEnterKeyChatHTML() string {
|
||||
href="https://platform.deepseek.com/"
|
||||
target="_blank">Get DeepSeek API key</a>
|
||||
<br />
|
||||
<br />
|
||||
<p>Note: Key are encrypted and saved on a secure database link only with the app.</p>`
|
||||
|
||||
htmlString := "<div class='columns is-centered' id='chat-container'><div class='column is-12-mobile is-8-tablet is-6-desktop' id='chat-messages'>"
|
||||
|
1
TODO.md
1
TODO.md
@ -21,6 +21,7 @@
|
||||
[ ] Add login with other provider
|
||||
[ ] Better temperature settings. (Anthropic from 0-1, OpenAI from 0-2, DeepSeek from -2-2, ect)
|
||||
[ ] Auto update the modelsInfos list
|
||||
[ ] Encrypt the API keys
|
||||
|
||||
# Other
|
||||
[ ] Change the terms of service and enter keys page to an HTML
|
||||
|
@ -139,22 +139,6 @@
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="field has-addons is-hidden"
|
||||
id="goose-field"
|
||||
title="GooseAI chat API will be available soon">
|
||||
<p class="control has-icons-left is-expanded">
|
||||
<input class="input is-small {% if GooseaiExists %}is-success{% endif %}"
|
||||
type="text"
|
||||
{% if not IsLogin %}disabled{% endif %}
|
||||
placeholder="Gooseai API key"
|
||||
name="goose_key"
|
||||
autocomplete="off"
|
||||
disabled>
|
||||
<span class="icon is-small is-left">
|
||||
<i class="fas fa-lock"></i>
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="field has-addons" id="save-field">
|
||||
<p class="control">
|
||||
<button disabled id="save-keys-button" type="submit" class="button is-small">
|
||||
|
@ -150,7 +150,7 @@
|
||||
for users who may not need to use the chatbot extensively. Once the free
|
||||
credit use, you pay based on the length of you message and the response
|
||||
generated in tokens (a token is around 3 characters). Groq and Google also
|
||||
offer free tiers that are enough for conversation.<
|
||||
offer free tiers that are enough for conversation.
|
||||
<br />
|
||||
<br />
|
||||
The app itself is free until 200 messages per month then 0.95$ per month.
|
||||
|
Loading…
x
Reference in New Issue
Block a user