Conversation
…the modes for the system
Qodana for Python105 new problems were found
☁️ View the detailed Qodana report Contact Qodana teamContact us at qodana-support@jetbrains.com
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several major improvements to OpenMLR, notably a simplified and stricter mode system (now just "plan" and "execute" modes), robust interrupt handling for background jobs, and enhanced resource management for plans and papers. The changes streamline the agent's workflow, improve reliability for task interruption, and ensure that plans and papers are consistently saved and accessible.
Mode System Simplification and Enforcement
system_prompt.yaml) to only support "plan" and "execute" modes, removing the previous "research" and "write" modes for clarity and stricter separation of planning vs. execution. Each mode has clear tool access rules and workflow instructions.Interrupt Handling for Background Jobs
Plan and Paper Resource Management
PLAN.mdand paper draft resources for each conversation, ensuring the latest plan and paper are always available and auto-saved.plan_toolto automatically generate and save aPLAN.mdmarkdown document whenever the plan is created or updated, and emit resource updates to the frontend. [1] [2] [3]Tool Argument Robustness
Other Cleanups
These changes make the agent's workflow more predictable, improve user control and visibility, and ensure better reliability in both interactive and background processing scenarios.