Changed max token from ModelInfo to LLM
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
{% for modelInfo in ModelInfos %}
|
||||
<option value="{{ modelInfo.ModelID }}">{{ modelInfo.Company.Name }} - {{ modelInfo.Name }}</option>
|
||||
{% endfor %}
|
||||
<option value="{% if IsSub %}custom{% else %}none{% endif %}">Inference Endpoints</option>
|
||||
<option value="{% if IsSub %}custom{% else %}none{% endif %}">Custom Endpoints</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="is-hidden" style="color: red;" id="endpoint-error">
|
||||
@@ -66,7 +66,10 @@
|
||||
<input class="slider is-small mb-3" step="0.05" min="0" max="2" value="0" type="range"
|
||||
id="temperature-slider" name="temperature-slider">
|
||||
<output id="temperature-slider-output">0</output>
|
||||
<p><small>System prompt:</small></p>
|
||||
<p><small>Max token (optional):</small></p>
|
||||
<input class="input is-small mb-3" type="number" id="max-token-input" name="max-token-input"
|
||||
placeholder="" autocomplete="off">
|
||||
<p><small>System prompt (optional):</small></p>
|
||||
<textarea class="textarea is-small mb-5 has-fixed-size" id="model-prompt-input"
|
||||
name="model-prompt-input"></textarea>
|
||||
<div class="is-flex is-justify-content-flex-end">
|
||||
@@ -171,4 +174,4 @@
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user