feat: 主体身份加载生成模型目录
This commit is contained in:
1 parent
a7a3f6b23b
commit
ced9aa9ce1
1 file changed
+6
@@ -31,6 +31,11 @@ export function useSubjectIdentity() {
|
|||||||
const candidateLimit = ref(3)
|
const candidateLimit = ref(3)
|
||||||
const force = ref(false)
|
const force = ref(false)
|
||||||
/** 目录与身份已有刷新按钮,查询只在进入、切换和手动刷新时读取。 */
|
/** 目录与身份已有刷新按钮,查询只在进入、切换和手动刷新时读取。 */
|
||||||
|
const generationModelsQuery = usePolling(
|
||||||
|
projectId,
|
||||||
|
async (_id, signal) => generationConfigApi.catalog(signal),
|
||||||
|
false
|
||||||
|
)
|
||||||
const catalog = usePolling(
|
const catalog = usePolling(
|
||||||
projectId,
|
projectId,
|
||||||
async (id, signal) => {
|
async (id, signal) => {
|
||||||
@@ -346,6 +351,7 @@ export function useSubjectIdentity() {
|
|||||||
subject,
|
subject,
|
||||||
subjects,
|
subjects,
|
||||||
catalog,
|
catalog,
|
||||||
|
generationModelsQuery,
|
||||||
castingQuery,
|
castingQuery,
|
||||||
styleQuery,
|
styleQuery,
|
||||||
profileQuery,
|
profileQuery,
|
||||||
|
|||||||
Reference in new issue
Block a user