mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-04 22:51:08 +00:00
Previously, `generateQualitativeInsights` used `Promise.all` with a `generate` helper that re-threw errors. A single LLM call failure (timeout, rate limit, JSON parse error) caused the entire `qualitative` object to become `undefined`, hiding all detailed report sections. Now individual `generate` calls catch errors and return `undefined` instead of throwing. The `QualitativeInsights` interface fields are made optional so partial results render correctly — each React section component already guards against missing data with `if (!field) return null`. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| src | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||