Minor Changes
-
#12178
01e5f2dThanks @thushanth-bengre-langchain! - feat(core): add decision models- Add
@langchain/core/decisionswithBaseDecisionModel, aRunnablethat answers typedNoul,Choice,Score, andBoxquestions about text, messages, or JSON state - Add question and answer types,
parseQuestions, andparseClassifierResponsefor providers - Type
invokeanswers from the questions asked, includingChoicelabels, and reject provider responses that leave a question unanswered or answer it with the wrong type or label
- Add
Patch Changes
- #12192
9920d4bThanks @jkennedyvz! - Require Zod 4.6.6 or newer for installed dependencies to exclude versions affected by GHSA-mrhx-c7xc-m3w5. Zod v3 schemas remain supported through the bundledzod/v3entry point.