feat: add computed model status for LLM availability in GraphSettings

This commit is contained in:
wizardchen
2026-03-13 19:42:07 +08:00
parent 6abc688ea2
commit 3b006e8bf0
@@ -321,6 +321,12 @@ const emit = defineEmits<{
'update:graphExtract': [value: GraphExtractConfig]
}>()
const modelStatus = computed(() => ({
llm: {
available: !!props.modelId
}
}))
// 本地状态
const localGraphExtract = ref<GraphExtractConfig>({
...props.graphExtract,