File tree Expand file tree Collapse file tree 5 files changed +258
-262
lines changed Expand file tree Collapse file tree 5 files changed +258
-262
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export function useThreadList(userId: string): ThreadListProps {
83
83
} , [ ] ) ;
84
84
85
85
const updateThread = useCallback ( async ( thread_id : string , name : string ) => {
86
- const saved = await client . threads . upsert ( thread_id , {
86
+ const saved = await client . threads . update ( thread_id , {
87
87
metadata : { name, userId } ,
88
88
} ) ;
89
89
dispatch ( { type : "add" , threads : [ saved ] } ) ;
Original file line number Diff line number Diff line change 16
16
"@emotion/react" : " ^11.11.1" ,
17
17
"@emotion/styled" : " ^11.11.0" ,
18
18
"@langchain/core" : " ^0.1.27" ,
19
- "@langchain/langgraph-sdk" : " ^0.0.1-rc.6 " ,
19
+ "@langchain/langgraph-sdk" : " ^0.0.1-rc.7 " ,
20
20
"@types/dompurify" : " ^3.0.5" ,
21
21
"@types/lodash.orderby" : " ^4.6.9" ,
22
22
"@types/marked" : " ^5.0.1" ,
Original file line number Diff line number Diff line change 1108
1108
zod "^3.22.4"
1109
1109
zod-to-json-schema "^3.22.3"
1110
1110
1111
- " @langchain/langgraph-sdk@^0.0.1-rc.6 " :
1112
- version "0.0.1-rc.6 "
1113
- resolved "https://registry.yarnpkg.com/@langchain/langgraph-sdk/-/langgraph-sdk-0.0.1-rc.6 .tgz#c8e5db0fa8fe2f77a860d586f3e7a7d8a3a7dd6a "
1114
- integrity sha512-sBdqoWFGvnQ7Cm4kgUAIiw02Wa6Fua4prBuzAh50QK7ibtJCsk2d/Tkolup1KXjy+PYTTpmBnBHm8wu+6AcmvQ ==
1111
+ " @langchain/langgraph-sdk@^0.0.1-rc.7 " :
1112
+ version "0.0.1-rc.7 "
1113
+ resolved "https://registry.yarnpkg.com/@langchain/langgraph-sdk/-/langgraph-sdk-0.0.1-rc.7 .tgz#d1f5f23937a86219e298b8fa33b80b3d998a4177 "
1114
+ integrity sha512-d6wzMxvB0R40gs340aVS0a+o9DvcsQqtBoS4s6LGfZxlHB7CbLiflPEaM/3fKeEziLTxmYl2BWOfHsjwiMwOgQ ==
1115
1115
dependencies :
1116
1116
eventsource-parser "^1.1.2"
1117
1117
p-queue "^6.6.2"
You can’t perform that action at this time.
0 commit comments