Säkerställt så att innehållet i dropdown-menyn kan ändras dynamiskt
This commit is contained in:
@@ -10,14 +10,10 @@
|
||||
<body>
|
||||
<h1>Ollama Chat</h1>
|
||||
|
||||
<!-- Add the dropdown menu here -->
|
||||
<!-- 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 class="dropdown-content" id="endpoint-dropdown"></div>
|
||||
</div>
|
||||
|
||||
<div id="chatbox">
|
||||
|
||||
Reference in New Issue
Block a user