[codex] Clarify deterministic rerun docs#157
Draft
MagMueller wants to merge 1 commit into
Draft
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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
{{...}}to required@{{...}}.autoHeal, recordings, fresh data behavior,isTaskSuccessful: nullon cache hits, and create-and-run scope.auto_healsupport that serializes toautoHeal, plus a payload serialization test.Live validation
scripts/9fa1f896bc8bcd78.py; cached rerun returned changed httpbin params withtotalInputTokens: 0,totalOutputTokens: 0, andllmCostUsd: 0.example.com; cached rerun extracted IANA reserved-domain content withllmCostUsd: 0, confirming reruns fetch current/new target content instead of replaying old output.isTaskSuccessful: null, andrecordingUrlsonly appear when a browser recording exists and the MP4 is ready.Checks
CLOUD_REPO_PATH=/Users/magnus/Developer/cloud uv run pytest tests/test_vibe.py -quv run ruff check src/browser_use_sdk/v3/client.py src/browser_use_sdk/v3/resources/sessions.py tests/test_vibe.pypython -m json.tool docs/cloud/openapi/v3.json >/dev/nullSummary by cubic
Clarifies deterministic rerun behavior and adds an
auto_healtoggle in the Python SDK to control cached-script validation and auto-regeneration. Docs now show fresh-data reruns, correct@{{...}}markers, and cost/recording caveats; OpenAPI addsautoHeal.New Features
browser_use_sdk.v3client.run(sync/async/stream) andsessions.createacceptauto_heal, serialized asautoHeal.auto_heal=FalsesendsautoHeal: false.docs/cloud/openapi/v3.json) exposesautoHeal(defaulttrue) with behavior details.Docs
autoHeal: false) and notes possibleisTaskSuccessful: nullon cache hits.fetchon cached runs and whenrecordingUrlsappear.@{{...}}parameters and adds examples for HTTP and browser flows.Written for commit c404bef. Summary will update on new commits. Review in cubic