Skip to content

chore: sync main with staging#29

Merged
vrtornisiello merged 22 commits intomainfrom
staging
Mar 12, 2026
Merged

chore: sync main with staging#29
vrtornisiello merged 22 commits intomainfrom
staging

Conversation

@vrtornisiello
Copy link
Collaborator

No description provided.

The new `create_agent` function from `langchain.agents` is the standard way to
build agents in LangChain v1. It provides a simpler interface while offering greater customization potential through middleware.

Key changes:
- Replace custom `ReActAgent` with `create_agent`
- Replace custom `trim_messages_before_agent` hook with built-in `SummarizationMiddleware`
- Replace custom recursion limit handling with `ModelCallLimitMiddleware`
- Update `_process_chunk` to handle the new node names ("model" instead
  of "agent", "ModelCallLimitMiddleware.before_model" for limit events)
fix: delete threads through the checkpointer
…ion-log

chore: remove token verification log
@vrtornisiello vrtornisiello merged commit 0e3423a into main Mar 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant