mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 10:13:44 +08:00
refactor: 更改 OpenAI 请求 Body 数据结构,兼容函数调用请求
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
<el-main v-loading="loading" element-loading-background="rgba(122, 122, 122, 0.3)">
|
||||
<div class="chat-head">
|
||||
<div class="chat-config">
|
||||
<span class="role-select-label">聊天角色:</span>
|
||||
<el-select v-model="roleId" filterable placeholder="角色" class="role-select">
|
||||
<el-option
|
||||
v-for="item in roles"
|
||||
@@ -210,7 +211,8 @@ import {
|
||||
Check,
|
||||
Close,
|
||||
Delete,
|
||||
Edit, Iphone,
|
||||
Edit,
|
||||
Iphone,
|
||||
Plus,
|
||||
Promotion,
|
||||
RefreshRight,
|
||||
@@ -920,6 +922,10 @@ $borderColor = #4676d0;
|
||||
justify-content center;
|
||||
padding-top 10px;
|
||||
|
||||
.role-select-label {
|
||||
color #ffffff
|
||||
}
|
||||
|
||||
.el-select {
|
||||
//max-width 150px;
|
||||
margin-right 10px;
|
||||
|
||||
Reference in New Issue
Block a user