mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-31 03:03:22 +08:00
紧急修复 温度 参数代码消失问题 (#1816)
This commit is contained in:
parent
115a123442
commit
38a48bc831
@ -151,6 +151,7 @@ def dialogue_page(api: ApiRequest):
|
||||
key="prompt_template_select",
|
||||
)
|
||||
prompt_template_name = st.session_state.prompt_template_select
|
||||
temperature = st.slider("Temperature:", 0.0, 1.0, TEMPERATURE, 0.05)
|
||||
history_len = st.number_input("历史对话轮数:", 0, 20, HISTORY_LEN)
|
||||
|
||||
def on_kb_change():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user