Platshållare för meny. För tillfället är innehållet statiskt

This commit is contained in:
Joakim Persson
2024-08-05 15:40:00 +02:00
parent ab9bb1324c
commit 8ac365862a
+11
View File
@@ -9,6 +9,17 @@
<body>
<h1>Ollama Chat</h1>
<!-- Add the dropdown menu here -->
<div class="dropdown">
<button class="dropbtn">Select Endpoint/LLM</button>
<div class="dropdown-content">
<a href="#" onclick="frontendApi.setEndpointAndLlm('endpoint1', 'llm1')">Endpoint 1 - LLM 1</a>
<a href="#" onclick="frontendApi.setEndpointAndLlm('endpoint2', 'llm2')">Endpoint 2 - LLM 2</a>
<a href="#" onclick="frontendApi.setEndpointAndLlm('endpoint3', 'llm3')">Endpoint 3 - LLM 3</a>
</div>
</div>
<div id="chatbox">
<!-- messages will be rendered here -->
</div>