Some fixs

This commit is contained in:
Adrien Bouvais 2024-08-08 11:57:57 +02:00
parent e1197f0c47
commit 25ae1337ff
4 changed files with 4 additions and 18 deletions

View File

@ -426,7 +426,8 @@ func generateEnterKeyChatHTML() string {
<a class="button is-small is-primary is-outlined mt-1" <a class="button is-small is-primary is-outlined mt-1"
href="https://platform.deepseek.com/" href="https://platform.deepseek.com/"
target="_blank">Get DeepSeek API key</a> target="_blank">Get DeepSeek API key</a>
<br/> <br />
<br />
<p>Note: Key are encrypted and saved on a secure database link only with the app.</p>` <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'>" htmlString := "<div class='columns is-centered' id='chat-container'><div class='column is-12-mobile is-8-tablet is-6-desktop' id='chat-messages'>"

View File

@ -21,6 +21,7 @@
[ ] Add login with other provider [ ] Add login with other provider
[ ] Better temperature settings. (Anthropic from 0-1, OpenAI from 0-2, DeepSeek from -2-2, ect) [ ] Better temperature settings. (Anthropic from 0-1, OpenAI from 0-2, DeepSeek from -2-2, ect)
[ ] Auto update the modelsInfos list [ ] Auto update the modelsInfos list
[ ] Encrypt the API keys
# Other # Other
[ ] Change the terms of service and enter keys page to an HTML [ ] Change the terms of service and enter keys page to an HTML

View File

@ -139,22 +139,6 @@
</span> </span>
</p> </p>
</div> </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"> <div class="field has-addons" id="save-field">
<p class="control"> <p class="control">
<button disabled id="save-keys-button" type="submit" class="button is-small"> <button disabled id="save-keys-button" type="submit" class="button is-small">

View File

@ -150,7 +150,7 @@
for users who may not need to use the chatbot extensively. Once the free 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 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 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 />
<br /> <br />
The app itself is free until 200 messages per month then 0.95$ per month. The app itself is free until 200 messages per month then 0.95$ per month.