Closed
Conversation
Add SDK guide page for the new Conversation.fork() primitive that lets
users branch off an existing conversation for follow-up exploration
without contaminating the original audit trail.
Covers:
- Basic usage (fork, source isolation, deep-copy semantics)
- Fork with a different agent (A/B testing, tool-change)
- Tags, metadata, and metrics reset
- Agent-server REST endpoint (POST /api/conversations/{id}/fork)
- Full ready-to-run example (no LLM calls needed)
Added to Conversation Features nav group in docs.json.
Related SDK PR: OpenHands/software-agent-sdk#2841
Co-authored-by: openhands <openhands@all-hands.dev>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Update the ready-to-run example to match the real-LLM version from the SDK repo, and add the RunExampleCode shared snippet. Co-authored-by: openhands <openhands@all-hands.dev>
Contributor
Author
|
Closing in favor of a new PR from branch openhands/conversation-fork (matching the SDK PR branch name so CI's check-examples can find the docs). |
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.
Summary of changes
Adds a new SDK guide page for
Conversation.fork(), a first-class primitive for branching off an existing conversation for follow-up exploration without contaminating the original audit trail.The guide covers:
POST /api/conversations/{id}/forkNavigation: Added
sdk/guides/convo-forkas the first item in the "Conversation Features" group indocs.json.Related: This documents the feature implemented in OpenHands/software-agent-sdk#2841 (issue #2840).
This PR was created by an AI agent (OpenHands) on behalf of the user.
@xingyaoww can click here to continue refining the PR