Patch Changes
-
#10245
48dfa1dThanks @christian-bromann! - fix(agents): propagate structured output retry Command through wrapModelCall middleware -
#10243
96c630dThanks @hntrl! - fix: add explicit: symboltype annotations to Symbol.for() declarations for cross-version compatibilityTypeScript infers
unique symboltype when Symbol.for() is used without an explicit type annotation, causing type incompatibility when multiple versions of the same package are present in a dependency tree. By adding explicit: symbolannotations, all declarations now use the general symbol type, making them compatible across versions while maintaining identical runtime behavior.Changes:
- Added
: symboltoMESSAGE_SYMBOLin messages/base.ts - Added
: symboltoMIDDLEWARE_BRANDin agents/middleware/types.ts (also changed from Symbol() to Symbol.for() for cross-realm compatibility)
- Added
-
#10252
0bf01a2Thanks @colifran! - feat: implement standard schema support for structured output -
Updated dependencies [
96c630d,a8b9ccc,a1f22bb]:- @langchain/core@1.1.30