Skip to content

deepagents@1.14.2

Choose a tag to compare

@github-actions github-actions released this 05 Oct 14:26
· 19 commits to main since this release
7839cda

Patch Changes

  • #877 9189214 Thanks @thushanth-bengre-langchain! - feat(deepagents): add offloadBinaryContent option to FilesystemMiddleware to keep binary read_file content and inline HumanMessage media out of checkpointed message history. When enabled, payloads are written to the backend under /blobs and replaced in state with a small reference; model requests are rehydrated from a per-run cache or the backend.

  • #881 188c2b5 Thanks @thushanth-bengre-langchain! - Add UnsupportedContentMiddleware, which replaces input content the active model can't accept with a text placeholder before each model call, so a provider rejection doesn't fail every later turn too. createDeepAgent and subagents add it automatically, last in the middleware stack. File support is read from model.profile.fileMimeTypes (requires @langchain/core@^1.2.14, and @langchain/openai@^1.6.1 for OpenAI/Azure models).

    FilesystemMiddleware also now recovers from a rejected read_file result that filtering missed: it retries once with the content replaced, and persists the swap to state.