🎨 页面优化 #58

Merged
李寻欢 merged 1 commits from hotfix into main 2024-06-17 08:58:51 +08:00
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -82,10 +82,6 @@
<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"
onchange="aiModelChange(event, {{.Wxid}})">
<option value="" {{ if eq .AiModel
"" }}selected{{ end }}>默认(gpt-3.5-turbo-0613)
</option>
{{$useModel := .AiModel}}
{{ range $.aiModels }}
<option value="{{.Model}}" {{ if eq $useModel .Model}}selected{{ end }}>