Lots of fix

Can now add new api key again, and some minor bugs
This commit is contained in:
2024-08-14 17:52:30 +02:00
parent 4dca94b1ee
commit edd5c58a7b
20 changed files with 214 additions and 165 deletions
+14 -1
View File
@@ -23,7 +23,7 @@
<script defer src="dependencies/marked.js"></script>
<!--script defer src="wasm_exec.js"></script>
<script>
<script>
window.addEventListener('load', function() {
hljs.highlightAll();
@@ -40,6 +40,19 @@
{{ embed }}
<script>
const companyTempMinMaxValues = {
'openai': { min: 0, max: 2 },
'anthropic': { min: 0, max: 1 },
'deepseek': { min: 0, max: 2 },
'fireworks': { min: 0, max: 2 },
'google': { min: 0, max: 2 },
'groq': { min: 0, max: 2 },
'mistral': { min: 0, max: 2 },
'nim': { min: 0, max: 2 },
'perplexity': { min: 0, max: 2 },
'together': { min: 0, max: 2 },
};
function copyToClipboardCode(button) {
// Get the code element next to the button
var codeElement = button.parentElement.nextElementSibling;