Skip to content

Commit 40e4630

Browse files
committed
1 parent 721e7d2 commit 40e4630

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ All notable changes to DeepCode will be documented in this file.
1414
- **File Progress Tracking**: Shows files completed/total with estimated time remaining
1515

1616
### Fixed
17+
- **Critical: False Error Detection**: Fixed overly aggressive error detection that was marking successful operations as failures, causing premature abort and empty file generation
18+
- **Critical: Empty File Generation**: Files now contain actual code instead of being empty (2-byte files)
1719
- **Unique Folder Naming**: Each project run now creates `paper_{timestamp}` folders instead of reusing `pdf_output`
1820
- **PDF Save Location**: PDFs now save to `deepcode_lab/papers/` instead of system temp directory
19-
- **Duplicate Folder Prevention**: System detects and reuses existing `paper_{timestamp}` folders instead of creating duplicates
20-
- **Token Limit Compliance**: Fixed `max_tokens` to respect model limits (e.g., gpt-4o-mini's 16,384 token limit)
21+
- **Duplicate Folder Prevention**: Added session state caching to prevent duplicate folder creation on UI reruns
22+
- **Token Limit Compliance**: Fixed `max_tokens` to respect model limits dynamically (e.g., gpt-4o-mini's 16,384 token limit)
2123
- **Empty Plan Detection**: System now fails early with clear error messages when initial plan is empty or invalid
2224
- **Process Hanging**: Fixed infinite loops and hanging on errors - process now exits cleanly
2325
- **Token Cost Tracking**: Restored accurate token usage and cost display (was showing $0.0000)
2426
- **PDF to Markdown Conversion**: Fixed automatic conversion and file location handling
2527
- **Document Segmentation**: Properly uses configured 50K character threshold from `mcp_agent.config.yaml`
28+
- **Error Propagation**: Abort mechanism now properly stops process after 10 consecutive real errors
2629

2730
### Changed
2831
- **Model-Aware Token Management**: Token limits now adapt automatically based on configured model instead of hardcoded values
@@ -51,9 +54,18 @@ All notable changes to DeepCode will be documented in this file.
5154
- None - all changes are backward compatible
5255

5356
### Known Issues
57+
- Terminal may show trailing "Calling Tool..." line after completion (cosmetic display artifact - process completes successfully)
5458
- Some Chinese comments remain in non-critical files (cli, tools) - translation in progress
5559
- tiktoken package optional warning (doesn't affect functionality)
5660

61+
### Success Metrics
62+
- ✅ Complete end-to-end workflow: DOCX upload → PDF conversion → Markdown → Segmentation → Planning → Code generation
63+
- ✅ Files generated with actual code content (15+ files with proper implementation)
64+
- ✅ Single folder per project run (no duplicates)
65+
- ✅ Dynamic token management working across different models
66+
- ✅ Accurate cost tracking per model
67+
- ✅ Clean process termination with proper error handling
68+
5769
---
5870

5971
## [1.0.5] - Previous Release

0 commit comments

Comments
 (0)