You've already forked agentic-coding-workflow
改动
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
import { computed, onMounted, ref } from 'vue'
|
||||
import { NSelect } from 'naive-ui'
|
||||
|
||||
import { llmAdminApi, type LLMModel } from '@/api/llmAdmin'
|
||||
import { modelsApi } from '@/api/models'
|
||||
import type { LLMModel } from '@/api/llmAdmin'
|
||||
|
||||
const props = defineProps<{ modelValue?: string }>()
|
||||
const emit = defineEmits<{ 'update:modelValue': [v: string] }>()
|
||||
@@ -27,7 +28,7 @@ const emit = defineEmits<{ 'update:modelValue': [v: string] }>()
|
||||
const models = ref<LLMModel[]>([])
|
||||
|
||||
onMounted(async () => {
|
||||
models.value = await llmAdminApi.listModels(true)
|
||||
models.value = await modelsApi.list(true)
|
||||
})
|
||||
|
||||
const options = computed(() =>
|
||||
|
||||
Reference in New Issue
Block a user