refactor: update LLM configuration to model ID in API and frontend

- Replaced LLMConfig with model_id in TextRelationExtractionRequest and FabriTextRequest interfaces.
- Updated related API handlers to retrieve chat models based on model_id.
- Adjusted frontend components to pass model_id instead of LLMConfig, enhancing clarity and simplifying the configuration process.

These changes streamline the model configuration process across the application, improving maintainability and usability.
This commit is contained in:
wizardchen
2026-03-13 19:33:08 +08:00
parent 5f6f223204
commit 5996d07aa6
4 changed files with 36 additions and 101 deletions
@@ -150,6 +150,7 @@
<GraphSettings
v-if="formData"
:graph-extract="formData.nodeExtractConfig"
:model-id="formData.modelConfig.llmModelId"
:all-models="allModels"
@update:graphExtract="handleNodeExtractUpdate"
/>