🎨 页面优化

This commit is contained in:
李寻欢 2024-06-17 08:58:01 +08:00
parent 20aeeefb3c
commit 42339e3c51
2 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ mysql:
schema: public # postgres 专用 schema: public # postgres 专用
task: task:
enable: true enable: false
news: news:
enable: true enable: true
cron: '14 11 * * *' # 每天0:30 cron: '14 11 * * *' # 每天0:30
@ -101,6 +101,10 @@ ai:
model: moonshot-v1-128k model: moonshot-v1-128k
- name: 跃问 - name: 跃问
model: StepChat model: StepChat
- name: 豆包Lite-4k
model: Doubao-lite-4k
- name: 豆包Pro-4k
model: Doubao-pro-4k
# 资源配置 # 资源配置
# map[k]v结构k 会变成全小写,所以这儿不能用大写字母 # map[k]v结构k 会变成全小写,所以这儿不能用大写字母

View File

@ -82,10 +82,6 @@
<select id="location" name="location" <select id="location" name="location"
class="mt-2 block w-full rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-green-600 sm:text-sm sm:leading-6" class="mt-2 block w-full rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-green-600 sm:text-sm sm:leading-6"
onchange="aiModelChange(event, {{.Wxid}})"> onchange="aiModelChange(event, {{.Wxid}})">
<option value="" {{ if eq .AiModel
"" }}selected{{ end }}>默认(gpt-3.5-turbo-0613)
</option>
{{$useModel := .AiModel}} {{$useModel := .AiModel}}
{{ range $.aiModels }} {{ range $.aiModels }}
<option value="{{.Model}}" {{ if eq $useModel .Model}}selected{{ end }}> <option value="{{.Model}}" {{ if eq $useModel .Model}}selected{{ end }}>