13bce7500c
This commit includes: - A full code review and bug fixes for language drift, package loading, and CLI crashes. - The generated 15,000-word philosophy manuscript. - CODE_REVIEW.md and CHANGELOG.md documenting the process.
1.1 KiB
1.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
Fixed
- Critical Bug: Corrected the MiniMax API call in
opus_orchestrator/utils/llm.py. Thesystemprompt is now correctly passed as a top-level field, resolving the issue where the model would ignore instructions and respond in Chinese. - Language Consistency: Added a universal and explicit instruction to all agent system prompts (
BaseAgent,PydanticAI,AutoGen) to respond ONLY in English. This provides multiple layers of defense against language drift. - AutoGen Revision Loop: Fixed the chapter iteration logic in
opus_orchestrator/autogen_critique.py. TheWriteragent is now correctly prompted to revise the chapter text, and theiterate_chapterfunction properly extracts and applies the revised content.
Added
CODE_REVIEW.md: A detailed document outlining the findings from the code review, including the root cause analysis of the language drift issue.CHANGELOG.md: This file, to track changes to the project.