Refactor report logging and enhance report generation features
- Renamed log_section_complete to log_section_content to better reflect its purpose, and added is_subsection parameter for improved logging of subsection content. - Introduced log_section_full_complete method to log the completion of entire sections, including all subsections, enhancing tracking of report generation status. - Adjusted maximum tool call limits for sections and chats to optimize performance during report generation. - Updated system prompts and user prompts in the ReportAgent class to clarify the report's focus on future predictions rather than current analysis. - Enhanced the Step3Simulation and Step4Report components for improved user experience, including UI updates and better handling of report generation states.
This commit is contained in:
@@ -655,7 +655,7 @@ const handleNextStep = async () => {
|
||||
try {
|
||||
const res = await generateReport({
|
||||
simulation_id: props.simulationId,
|
||||
force_regenerate: false
|
||||
force_regenerate: true
|
||||
})
|
||||
|
||||
if (res.success && res.data) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user