Add page LLM configuration settings

This commit is contained in:
Feige-cn 2025-03-18 01:00:01 +08:00
parent d0a62e65c7
commit b63a0301dc

View File

@ -51,11 +51,11 @@
<h3>LLM Configuration</h3> <h3>LLM Configuration</h3>
<div class="form-group"> <div class="form-group">
<label for="llm-model">Model Name <span class="required-mark">*</span></label> <label for="llm-model">Model Name <span class="required-mark">*</span></label>
<input type="text" id="llm-model" name="llm.model" placeholder="例如: claude-3-5-sonnet"> <input type="text" id="llm-model" name="llm.model" placeholder="For example: claude-3-5-sonnet">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="llm-base-url">API Base URL <span class="required-mark">*</span></label> <label for="llm-base-url">API Base URL <span class="required-mark">*</span></label>
<input type="text" id="llm-base-url" name="llm.base_url" placeholder="例如: https://api.openai.com/v1"> <input type="text" id="llm-base-url" name="llm.base_url" placeholder="For example: https://api.openai.com/v1">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="llm-api-key">API Key <span class="required-mark">*</span></label> <label for="llm-api-key">API Key <span class="required-mark">*</span></label>
@ -64,11 +64,11 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="llm-max-tokens">Max Tokens</label> <label for="llm-max-tokens">Max Tokens</label>
<input type="number" id="llm-max-tokens" name="llm.max_tokens" placeholder="例如: 4096"> <input type="number" id="llm-max-tokens" name="llm.max_tokens" placeholder="For example: 4096">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="llm-temperature">Temperature</label> <label for="llm-temperature">Temperature</label>
<input type="number" id="llm-temperature" name="llm.temperature" step="0.1" placeholder="例如: 0.0"> <input type="number" id="llm-temperature" name="llm.temperature" step="0.1" placeholder="For example: 0.0">
</div> </div>
</div> </div>
@ -76,11 +76,11 @@
<h3>Server Configuration</h3> <h3>Server Configuration</h3>
<div class="form-group"> <div class="form-group">
<label for="server-host">Host <span class="required-mark">*</span></label> <label for="server-host">Host <span class="required-mark">*</span></label>
<input type="text" id="server-host" name="server.host" placeholder="例如: localhost"> <input type="text" id="server-host" name="server.host" placeholder="For example: localhost">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="server-port">Port <span class="required-mark">*</span></label> <label for="server-port">Port <span class="required-mark">*</span></label>
<input type="number" id="server-port" name="server.port" placeholder="例如: 5172"> <input type="number" id="server-port" name="server.port" placeholder="For example: 5172">
</div> </div>
</div> </div>
</div> </div>