Commit 7b2757a
authored
fix: template content generation (#1716)
* feat: template-content-generation
* fix(workflow-app): inject CanvasService in template processor to fix getWorkflowVariables call
* fix: update prevTemplateContent
* fix: templateResult Valid
* fix: upload
* fix(workflow-app): update shared storage for all share records without duplicate staticFile entries
- Use direct putObject instead of uploadBuffer to avoid creating duplicate staticFile records
- Update all share records (regular share + template share) instead of only the latest one
- Add JSON data validation to prevent invalid structure updates
- Improve error logging with stack trace for better debugging
- Add independent error handling for each share record
* feat: optimize prompt1 parent b57ea68 commit 7b2757a
File tree
5 files changed
+449
-107
lines changed- apps/api/src/modules
- variable-extraction
- workflow-app
- packages/web-core/src/pages/workflow-app
5 files changed
+449
-107
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
1289 | 1295 | | |
1290 | 1296 | | |
1291 | 1297 | | |
| |||
0 commit comments