Skip to content

Commit edb1e0d

Browse files
committed
feat: restore time travel and re-generation
1 parent 9a589ea commit edb1e0d

File tree

8 files changed

+204
-75
lines changed

8 files changed

+204
-75
lines changed

typescript-sdk/apps/dojo/src/files.json

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

typescript-sdk/integrations/langgraph/examples/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dependencies": {
1212
"@langchain/core": "^0.3.66",
1313
"@langchain/openai": "^0.6.3",
14-
"@langchain/langgraph": "^0.4.0",
14+
"@langchain/langgraph": "^0.2.65",
1515
"dotenv": "^16.4.5",
1616
"uuid": "^10.0.0"
1717
},

typescript-sdk/integrations/langgraph/examples/typescript/pnpm-lock.yaml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typescript-sdk/integrations/langgraph/examples/typescript/src/agents/shared_state/agent.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ async function chatNode(state: AgentState, config?: RunnableConfig): Promise<Com
152152
recipeJson = `Error serializing recipe: ${e}`;
153153
}
154154
}
155-
console.log(recipeJson)
156-
155+
157156
const systemPrompt = `You are a helpful assistant for creating recipes.
158157
This is the current state of the recipe: ${recipeJson}
159158
You can improve the recipe by calling the generate_recipe tool.
@@ -212,9 +211,6 @@ async function chatNode(state: AgentState, config?: RunnableConfig): Promise<Com
212211
if (toolCall.name === "generate_recipe") {
213212
// Update recipe state with tool_call_args
214213
const recipeData = toolCall.args.recipe;
215-
console.log('*****RECEIPE DATA')
216-
console.log(recipeData)
217-
218214
let recipe: Recipe;
219215
// If we have an existing recipe, update it
220216
if (state.recipe) {

typescript-sdk/integrations/langgraph/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
},
2525
"dependencies": {
2626
"@ag-ui/client": "workspace:*",
27-
"@langchain/core": "^0.3.38",
28-
"@langchain/langgraph-sdk": "^0.0.78",
27+
"@langchain/core": "^0.3.66",
28+
"@langchain/langgraph-sdk": "^0.0.105",
2929
"partial-json": "^0.1.7",
3030
"rxjs": "7.8.1"
3131
},

0 commit comments

Comments
 (0)