Skip to content

fix(webui): drop the inherited plan when a fork copied none - #1032

Open
Col0ring wants to merge 1 commit into
modelscope:mainfrom
Col0ring:fix/fork-inherited-plan
Open

Col0ring wants to merge 1 commit into
modelscope:mainfrom
Col0ring:fix/fork-inherited-plan

Conversation

@Col0ring

Copy link
Copy Markdown
Contributor

Summary

A forked session only has its own plan.md when the copied prefix carried a todo_write snapshot (ms_agent.project.fork._copy_plan). A render-only turn leaves none, so pointing the inherited message at that path showed an empty plan chip.

  • point a forked message at the branch plan only when that file exists

Test

  • uv run pytest tests/test_session_fork.py tests/test_sessions_reconstruct.py

- point a forked message at the branch plan only when that file exists

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant