You've already forked agentic-coding-workflow
改动
This commit is contained in:
@@ -108,7 +108,8 @@ import { useChatStore } from '@/stores/chat'
|
||||
import MessageBubble from './components/MessageBubble.vue'
|
||||
import AttachmentUploader from './components/AttachmentUploader.vue'
|
||||
import ConversationCreateModal from './ConversationCreateModal.vue'
|
||||
import { llmAdminApi, type LLMModel, type ModelCapabilities } from '@/api/llmAdmin'
|
||||
import { modelsApi } from '@/api/models'
|
||||
import type { LLMModel, ModelCapabilities } from '@/api/llmAdmin'
|
||||
|
||||
const chat = useChatStore()
|
||||
const route = useRoute()
|
||||
@@ -142,7 +143,7 @@ const currentModelCaps = computed<ModelCapabilities>(() => {
|
||||
})
|
||||
|
||||
onMounted(async () => {
|
||||
allModels.value = await llmAdminApi.listModels(true)
|
||||
allModels.value = await modelsApi.list(true)
|
||||
await chat.loadConversations({ project_id: projectId.value })
|
||||
const cid = route.params.conversationId
|
||||
if (typeof cid === 'string' && cid !== '') {
|
||||
|
||||
Reference in New Issue
Block a user