Skip to content

Fix set_initial_state imports in playground#201

Merged
jlowin merged 1 commit intomainfrom
fix/playground-set-initial-state
Feb 26, 2026
Merged

Fix set_initial_state imports in playground#201
jlowin merged 1 commit intomainfrom
fix/playground-set-initial-state

Conversation

@jlowin
Copy link
Member

@jlowin jlowin commented Feb 26, 2026

Docs code blocks import from prefab_ui.app import set_initial_state, which overrides the playground harness's version and breaks state capture. The harness now monkey-patches prefab_ui.app.set_initial_state so both bare calls and explicit imports work correctly.

@marvin-context-protocol marvin-context-protocol bot added bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. python Related to the Python SDK: components, actions, serialization. labels Feb 26, 2026
@jlowin jlowin merged commit 6e72ad0 into main Feb 26, 2026
8 checks passed
@jlowin jlowin deleted the fix/playground-set-initial-state branch February 26, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. python Related to the Python SDK: components, actions, serialization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant