forked from lxh/go-wxhelper
Merge pull request '🎨 页面优化' (#58) from hotfix into main
Reviewed-on: lxh/go-wxhelper#58
This commit is contained in:
commit
d8a8bf4efc
@ -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 会变成全小写,所以这儿不能用大写字母
|
||||||
|
@ -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 }}>
|
||||||
|
Loading…
Reference in New Issue
Block a user