Skip to content

Commit

Permalink
feat(js-sdk): add config and parent_config to thread state schema (#1411
Browse files Browse the repository at this point in the history
)

* feat(js-sdk): add config and parent_config to thread state schema

* Bump to 0.0.5
  • Loading branch information
dqbd authored Aug 21, 2024
1 parent 3d33b57 commit ebf0606
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/sdk-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@langchain/langgraph-sdk",
"version": "0.0.4",
"version": "0.0.5",
"description": "Client library for interacting with the LangGraph API",
"type": "module",
"packageManager": "[email protected]",
Expand Down
3 changes: 3 additions & 0 deletions libs/sdk-js/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ export interface ThreadState<ValuesType = DefaultValues> {
metadata: Metadata;
created_at: Optional<string>;
parent_checkpoint_id: Optional<string>;

config: Config;
parent_config?: Config;
}

export interface Run {
Expand Down

0 comments on commit ebf0606

Please sign in to comment.