We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7a3dd commit 03434d4Copy full SHA for 03434d4
examples/src/createAgent/accessExternalContextInTools.ts
@@ -22,12 +22,11 @@
22
*/
23
24
import fs from "node:fs/promises";
25
+import { createAgent, tool } from "langchain";
26
import {
- createAgent,
27
- tool,
28
- setContextVariable,
29
getContextVariable,
30
-} from "langchain";
+ setContextVariable,
+} from "@langchain/core/context";
31
import { z } from "zod";
32
33
/**
libs/langchain/src/index.ts
@@ -48,14 +48,6 @@ export * from "./agents/middleware/index.js";
48
49
export { InMemoryStore } from "@langchain/core/stores";
50
51
-/**
52
- * LangChain Context
53
- */
54
-export {
55
56
- getContextVariable,
57
-} from "@langchain/core/context";
58
-
59
60
* LangChain Documents
61
0 commit comments