refactor: update dataset handling to use runtime_mode instead of pipeline_id

This commit is contained in:
twwu
2025-06-12 15:57:07 +08:00
parent b1f250862f
commit 6f17200dec
7 changed files with 12 additions and 10 deletions

View File

@ -83,6 +83,7 @@ export type DataSet = {
keyword_number?: number
pipeline_id?: string
is_published?: boolean // Indicates if the pipeline is published
runtime_mode: 'rag_pipeline' | 'general'
}
export type ExternalAPIItem = {

View File

@ -167,7 +167,7 @@ export type PipelineDatasourceNodeRunRequest = {
export type PipelineDatasourceNodeRunResponse = {
job_id?: string
status: 'processing' | 'completed'
result: Record<string, any>
result: any
provider_type: DatasourceType
}