Skip to content

Commit

Permalink
fix(func): expose input / output types in pregel to support studio (#811
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dqbd authored Jan 29, 2025
1 parent 4bee8fd commit 024e8fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/langgraph/src/pregel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@ export class Pregel<
return "LangGraph";
}

/** @internal Used for type inferrence */
declare "~InputType": InputType;

/** @internal Used for type inferrence */
declare "~OutputType": OutputType;

// Because Pregel extends `Runnable`.
lc_namespace = ["langgraph", "pregel"];

Expand Down

0 comments on commit 024e8fb

Please sign in to comment.