mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00:00
Hide unused model field from chat settings on web interface
This commit is contained in:
@@ -16,9 +16,17 @@
|
|||||||
<input type="text" id="openai-api-key" name="openai-api-key" value="{{ current_config['openai_api_key'] }}">
|
<input type="text" id="openai-api-key" name="openai-api-key" value="{{ current_config['openai_api_key'] }}">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<label for="chat-model">Chat Model</label>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" id="chat-model" name="chat-model" value="{{ current_config['chat_model'] }}">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<table >
|
<table style="display: none;">
|
||||||
<tr style="display: none;">
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<label for="conversation-logfile">Conversation Logfile</label>
|
<label for="conversation-logfile">Conversation Logfile</label>
|
||||||
</td>
|
</td>
|
||||||
@@ -34,14 +42,6 @@
|
|||||||
<input type="text" id="model" name="model" value="{{ current_config['model'] }}">
|
<input type="text" id="model" name="model" value="{{ current_config['model'] }}">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<label for="chat-model">Chat Model</label>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" id="chat-model" name="chat-model" value="{{ current_config['chat_model'] }}">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div id="success" style="display: none;" ></div>
|
<div id="success" style="display: none;" ></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user