feat: add computed model status for LLM availability in GraphSettings
This commit is contained in:
@@ -321,6 +321,12 @@ const emit = defineEmits<{
|
|||||||
'update:graphExtract': [value: GraphExtractConfig]
|
'update:graphExtract': [value: GraphExtractConfig]
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
|
const modelStatus = computed(() => ({
|
||||||
|
llm: {
|
||||||
|
available: !!props.modelId
|
||||||
|
}
|
||||||
|
}))
|
||||||
|
|
||||||
// 本地状态
|
// 本地状态
|
||||||
const localGraphExtract = ref<GraphExtractConfig>({
|
const localGraphExtract = ref<GraphExtractConfig>({
|
||||||
...props.graphExtract,
|
...props.graphExtract,
|
||||||
|
|||||||
Reference in New Issue
Block a user