Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
aaa46dbb
Commit
aaa46dbb
authored
Sep 24, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 应用大模型数据分组展示
parent
7fd27d15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
app-setting.vue
...nal-space/personal-app-setting/components/app-setting.vue
+11
-5
No files found.
src/views/personal-space/personal-app-setting/components/app-setting.vue
View file @
aaa46dbb
...
@@ -49,7 +49,7 @@ const questionSettingOptions = [
...
@@ -49,7 +49,7 @@ const questionSettingOptions = [
},
},
]
]
cons
t
modalListOptions
=
reactive
<
SelectOption
[]
>
([])
le
t
modalListOptions
=
reactive
<
SelectOption
[]
>
([])
const
commConfigExpandedNames
=
ref
<
string
[]
>
([
'continuousQuestion'
])
const
commConfigExpandedNames
=
ref
<
string
[]
>
([
'continuousQuestion'
])
...
@@ -150,13 +150,19 @@ async function handleGetAgentApplicationDetail(agentId: string) {
...
@@ -150,13 +150,19 @@ async function handleGetAgentApplicationDetail(agentId: string) {
}
}
async
function
handleGetLargeModelList
()
{
async
function
handleGetLargeModelList
()
{
const
res
=
await
fetchGetLargeModelList
<
{
modelName
:
string
}[]
>
()
modalListOptions
=
[]
const
res
=
await
fetchGetLargeModelList
<
{
owner
:
string
;
models
:
string
[]
}[]
>
()
res
.
data
.
forEach
((
item
)
=>
{
res
.
data
.
forEach
((
item
)
=>
{
modalListOptions
.
push
({
modalListOptions
.
push
({
label
:
item
.
modelName
,
type
:
'group'
,
value
:
item
.
modelName
,
label
:
item
.
owner
,
style
:
{
fontSize
:
'12px'
},
key
:
item
.
owner
,
children
:
item
.
models
.
map
((
model
)
=>
({
label
:
model
,
value
:
model
,
style
:
{
fontSize
:
'12px'
},
})),
})
})
})
})
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment