mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-11 18:01:26 +08:00
refactor(setting-model): migrate SoMark to generic provider card withmodel-level extra fields (#17582)
This commit is contained in:
@@ -108,6 +108,14 @@ export interface IInstanceModel {
|
||||
* without relying solely on the (possibly unfetched) catalog.
|
||||
*/
|
||||
is_tools?: boolean;
|
||||
/**
|
||||
* Per-model extra config persisted in `tenant_model.extra`.
|
||||
* Carries provider-specific fields such as SoMark's element-format
|
||||
* selects and feature-config toggles. Echoed back by the backend's
|
||||
* `_hybrid_get_instance_models` so the frontend can pre-fill the
|
||||
* edit dialog.
|
||||
*/
|
||||
extra?: Record<string, any>;
|
||||
}
|
||||
|
||||
export interface IDefaultModel {
|
||||
|
||||
Reference in New Issue
Block a user