Conversation
This branch has not been deployed
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.
Managed LangGraph history was read as a browser-written transcript even though the agent saves checkpoints. Successful API turns therefore appeared as empty history, and the UI's second transcript could omit tools and pending approvals. Use the existing
graph.aget_state()history path for both session backends, and refresh that history after sending/resuming instead of writing duplicate transcript items.Also correct the store-binding next steps:
agentbricks devintentionally keeps memory off and session history in-process; bindings take effect after deployment. This is a five-file fix: 9 added lines and 49 removed lines.Partially addresses ML-70354:
Validation:
ed3ed6b7)A freshly generated local agent also invoked
system.ai.claude-sonnet-4-5throughml-inference-staging: the invocation completed in 4.0s, then UI history returned its two messages in 0.67s. This exercised the real model with in-process state; it provisioned no workspace resources. Memory/session CLI tests: 15 passed. Ruff, format, type checking, JavaScript syntax, and secret scanning passed.Scope: default local state behavior is preserved. Workspace-backed local development, broader request-user identity changes, and pagination are deferred. Template fixes apply to newly generated projects; existing copied scaffolds need the equivalent small edits. No new deployed-app test was run for this reduced patch.