Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
feat(oss): add OSS TypeScript types for storage engine config
bingxiang.cheng21a607f0ee1b
diff --git a/frontend/src/api/system/index.ts b/frontend/src/api/system/index.tsindex 688e1323c..35ad2855b 100644--- a/frontend/src/api/system/index.ts+++ b/frontend/src/api/system/index.ts@@ -183,7 +183,7 @@ export function reconnectDocReader(addr: string): Promise<ParserEnginesResponse// ---- 存储引擎配置(租户级,供文档/图片存储与 docreader 使用) ----export interface StorageEngineConfig {- default_provider: string // "local" | "minio" | "cos" | "tos" | "s3"+ default_provider: string // "local" | "minio" | "cos" | "tos" | "s3" | "oss"local?: { path_prefix: string }minio?: { mode: string; endpoint: string; access_key_id: string; secret_access_key: string; bucket_name: string; use_ssl: boolean; path_prefix: string }cos?: {@@ -210,6 +210,17 @@ export interface StorageEngineConfig {bucket_name: stringpath_prefix: string}+ oss?: {+ endpoint: string+ region: string+ access_key: string+ secret_key: string+ bucket_name: string+ path_prefix: string+ use_temp_bucket: boolean+ temp_bucket_name: string+ temp_region: string+ }}export interface StorageEngineStatusItem {@@ -236,11 +247,12 @@ export function getStorageEngineStatus(): Promise<{ data: GetStorageEngineStatus}export interface StorageCheckRequest {- provider: string // "minio" | "cos" | "tos" | "s3"+ provider: string // "minio" | "cos" | "tos" | "s3" | "oss"minio?: StorageEngineConfig['minio']cos?: StorageEngineConfig['cos']tos?: StorageEngineConfig['tos']s3?: StorageEngineConfig['s3']+ oss?: StorageEngineConfig['oss']}export interface StorageCheckResponse {