Skip to content

Commit 0053c17

Browse files
committed
Replace LangGraphRunnableConfig with Runtime
1 parent 1a6c2dd commit 0053c17

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

libs/langgraph/src/graph/state.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
import type {
1616
RunnableLike,
1717
LangGraphRunnableConfig,
18+
Runtime,
1819
} from "../pregel/runnable_types.js";
1920
import { BaseChannel, isBaseChannel } from "../channels/base.js";
2021
import {
@@ -171,19 +172,15 @@ type StrictNodeAction<
171172
InterruptType,
172173
WriterType
173174
> = RunnableLike<
174-
S,
175+
Prettify<S>,
175176
| U
176177
| Command<
177178
InterruptResumeType<InterruptType>,
178179
// eslint-disable-next-line @typescript-eslint/no-explicit-any
179180
U & Record<string, any>,
180181
Nodes
181182
>,
182-
LangGraphRunnableConfig<
183-
StateType<ToStateDefinition<C>>,
184-
InterruptType,
185-
WriterType
186-
>
183+
Runtime<StateType<ToStateDefinition<C>>, InterruptType, WriterType>
187184
>;
188185

189186
const PartialStateSchema = Symbol.for("langgraph.state.partial");

0 commit comments

Comments
 (0)