Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/orchestrator.ts
Methods
| Method | Signature | Returns |
|---|---|---|
getStore | getStore() | StageResultStore |
run | run(progressCallback: V2ProgressCallback) | Promise<V2PipelineResult> |
cancel | cancel() | void |
Where it refuses work
V2PipelineOrchestratorstops the work withErrorwhen!hasOpenAI— “OpenAI provider selected but no API key provided (openaiApiKey or azureOpenaiApiKey)”.V2PipelineOrchestratorstops the work withErrorwhen!endpoint || !apiKey— “Azure Responses provider selected but endpoint or apiKey not provided”.V2PipelineOrchestratorstops the work withErrorwhen!this.parseResult— “Parse result not available”.V2PipelineOrchestratorstops the work withErrorwhen!this.chunkResult— “Chunk result not available”.V2PipelineOrchestratorstops the work withErrorwhen!this.chunkResult || !this.featureResult— “Chunk or feature result not available”.V2PipelineOrchestratorstops the work withErrorwhen!this.analysisResult— “Analysis result not available”.
When something fails
V2PipelineOrchestratorhandles failure in 44 places: it logs it and continues in 22, lets it reach the caller in 13, discards it silently in 5, and turns it into a return value in 4. A failure discarded silently leaves no trace for whoever debugs this later.
Was this page helpful?