Skip to content

Commit e803b38

Browse files
authored
fix: include the tool name on the top level per returned frontend tool (#395)
1 parent 5113813 commit e803b38

File tree

1 file changed

+1
-0
lines changed
  • typescript-sdk/integrations/langgraph/src

1 file changed

+1
-0
lines changed

typescript-sdk/integrations/langgraph/src/agent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,7 @@ export class LangGraphAgent extends AbstractAgent {
10101010

10111011
return {
10121012
type: "function",
1013+
name: tool.name,
10131014
function: {
10141015
name: tool.name,
10151016
description: tool.description,

0 commit comments

Comments
 (0)