This commit is contained in:
jacoblee93
2024-08-30 10:10:12 -07:00
parent 2f6a6afc43
commit a9dea4802e
3 changed files with 7 additions and 23 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"dependencies": {
"@langchain/community": "^0.2.31",
"@langchain/core": "^0.2.31",
"@langchain/langgraph": "^0.1.10-rc.3",
"@langchain/langgraph": "^0.2.0-rc.0",
"@langchain/openai": "^0.2.8"
}
}
+1 -1
View File
@@ -30,7 +30,7 @@ async function callModel(
]);
// MessagesAnnotation supports returning a single message or array of messages
return { messages: [response] };
return { messages: response };
}
// Define the function that determines whether to continue or not
+5 -21
View File
@@ -19,7 +19,7 @@
zod "^3.22.3"
zod-to-json-schema "^3.22.5"
"@langchain/core@>0.2.0 <0.3.0", "@langchain/core@>=0.2.21 <0.3.0", "@langchain/core@>=0.2.26 <0.3.0", "@langchain/core@>=0.2.31 <0.3.0", "@langchain/core@^0.2.31":
"@langchain/core@>0.2.0 <0.3.0", "@langchain/core@>=0.2.21 <0.3.0", "@langchain/core@>=0.2.26 <0.3.0", "@langchain/core@^0.2.31":
version "0.2.31"
resolved "https://registry.yarnpkg.com/@langchain/core/-/core-0.2.31.tgz#31e717fb511ed57b65095aba8b2b3845cff92588"
integrity sha512-qGfeaACST7dvovgHItzuag9fEBGK7IjCE9vRuTu/y8/WYGJi28WPD/AwWxnu7YdW1vZSuIXO6ZA76t2G9B/oKg==
@@ -36,20 +36,6 @@
zod "^3.22.4"
zod-to-json-schema "^3.22.3"
"@langchain/langgraph-checkpoint-sqlite@~0.0.1":
version "0.0.1"
resolved "https://registry.yarnpkg.com/@langchain/langgraph-checkpoint-sqlite/-/langgraph-checkpoint-sqlite-0.0.1.tgz#6eb46934f6767a6509d2dc812cf8940dc076b684"
integrity sha512-GaZo/rMS9WCO11FdYgO/omCmYnk50zjKdsxPiEKMkorXkPDLuMIgIEfUs5VKc0PMclvFfSNzX8gmvp8Kwk5MpA==
dependencies:
"@langchain/langgraph-checkpoint" "~0.0.1"
"@langchain/langgraph-checkpoint@~0.0.1":
version "0.0.2"
resolved "https://registry.yarnpkg.com/@langchain/langgraph-checkpoint/-/langgraph-checkpoint-0.0.2.tgz#85d36da808ad08a603e8a8bb3389603811e7a374"
integrity sha512-4bLncdoFR4+1gDVtA5H4QoSmXsvIGkrsoaDL6LpP58QriNrxjrufbeIF4PP6jcdsPmC0VuE93QeeOOhLUkOXpg==
dependencies:
uuid "^10.0.0"
"@langchain/langgraph-checkpoint@~0.0.4":
version "0.0.4"
resolved "https://registry.yarnpkg.com/@langchain/langgraph-checkpoint/-/langgraph-checkpoint-0.0.4.tgz#75fb8a1590d30eee22dc25f3fc43ea6cb57e047c"
@@ -57,14 +43,12 @@
dependencies:
uuid "^10.0.0"
"@langchain/langgraph@^0.1.10-rc.3":
version "0.1.10-rc.3"
resolved "https://registry.yarnpkg.com/@langchain/langgraph/-/langgraph-0.1.10-rc.3.tgz#f6b40b22fda15666b0d170f1435acc04ef2b0155"
integrity sha512-Zvc0I4Pk8PJIuBoQsVOd4c+RS3vZFeTJpltTZAWtYckSGj7vSiag3RwX+BLBWqrCN1LjD1x/UfzzvYksXub92Q==
"@langchain/langgraph@^0.2.0-rc.0":
version "0.2.0-rc.0"
resolved "https://registry.yarnpkg.com/@langchain/langgraph/-/langgraph-0.2.0-rc.0.tgz#ead317c14fa050febb058bd712eaecd9777c7789"
integrity sha512-KmpWbkljzv+VZOSwr5V2DYe/v4sMI40hV1HCYGlPGj65Xw6Vwh+3xMaZ9I8SQxzXLXBbuGOahRZHmQNMWVuAyg==
dependencies:
"@langchain/core" ">=0.2.31 <0.3.0"
"@langchain/langgraph-checkpoint" "~0.0.4"
"@langchain/langgraph-checkpoint-sqlite" "~0.0.1"
double-ended-queue "^2.1.0-0"
uuid "^10.0.0"
zod "^3.23.8"