Skip to content

Commit 757b043

Browse files
committed
chore(docs): regenerate api-docs for FakeStreamTransport export
1 parent c2315fe commit 757b043

1 file changed

Lines changed: 141 additions & 0 deletions

File tree

apps/website/content/docs/langgraph/api/api-docs.json

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,147 @@
2929
}
3030
]
3131
},
32+
{
33+
"name": "FakeStreamTransport",
34+
"kind": "class",
35+
"description": "In-process AgentTransport that auto-streams a canned assistant reply.\n\nBacks `provideFakeAgent()`. Unlike `MockAgentTransport` (passive, driven\nmanually from specs), this transport emits its tokens automatically on\n`stream()`, then completes — suitable for offline demos and integration tests.\n\nNOT for production use.",
36+
"params": [
37+
{
38+
"name": "config",
39+
"type": "FakeAgentConfig",
40+
"description": "",
41+
"optional": false
42+
}
43+
],
44+
"examples": [],
45+
"properties": [],
46+
"methods": [
47+
{
48+
"name": "cancelRun",
49+
"signature": "cancelRun(_threadId: string, _runId: string, _signal: AbortSignal)",
50+
"description": "Optional: cancel a server-side run.",
51+
"params": [
52+
{
53+
"name": "_threadId",
54+
"type": "string",
55+
"description": "",
56+
"optional": false
57+
},
58+
{
59+
"name": "_runId",
60+
"type": "string",
61+
"description": "",
62+
"optional": false
63+
},
64+
{
65+
"name": "_signal",
66+
"type": "AbortSignal",
67+
"description": "",
68+
"optional": false
69+
}
70+
]
71+
},
72+
{
73+
"name": "createQueuedRun",
74+
"signature": "createQueuedRun(_assistantId: string, threadId: string, payload: unknown, _signal: AbortSignal, options: LangGraphSubmitOptions)",
75+
"description": "Optional: create a server-side queued run without joining it immediately.",
76+
"params": [
77+
{
78+
"name": "_assistantId",
79+
"type": "string",
80+
"description": "",
81+
"optional": false
82+
},
83+
{
84+
"name": "threadId",
85+
"type": "string",
86+
"description": "",
87+
"optional": false
88+
},
89+
{
90+
"name": "payload",
91+
"type": "unknown",
92+
"description": "",
93+
"optional": false
94+
},
95+
{
96+
"name": "_signal",
97+
"type": "AbortSignal",
98+
"description": "",
99+
"optional": false
100+
},
101+
{
102+
"name": "options",
103+
"type": "LangGraphSubmitOptions",
104+
"description": "",
105+
"optional": true
106+
}
107+
]
108+
},
109+
{
110+
"name": "getHistory",
111+
"signature": "getHistory(_threadId: string, _signal: AbortSignal)",
112+
"description": "Optional: load persisted checkpoint history for a thread.",
113+
"params": [
114+
{
115+
"name": "_threadId",
116+
"type": "string",
117+
"description": "",
118+
"optional": false
119+
},
120+
{
121+
"name": "_signal",
122+
"type": "AbortSignal",
123+
"description": "",
124+
"optional": false
125+
}
126+
]
127+
},
128+
{
129+
"name": "joinStream",
130+
"signature": "joinStream()",
131+
"description": "Optional: join an already-started run without creating a new one.",
132+
"params": []
133+
},
134+
{
135+
"name": "stream",
136+
"signature": "stream(_assistantId: string, _threadId: string | null, _payload: unknown, signal: AbortSignal, _options: LangGraphSubmitOptions)",
137+
"description": "Open a streaming connection to an agent and yield events.",
138+
"params": [
139+
{
140+
"name": "_assistantId",
141+
"type": "string",
142+
"description": "",
143+
"optional": false
144+
},
145+
{
146+
"name": "_threadId",
147+
"type": "string | null",
148+
"description": "",
149+
"optional": false
150+
},
151+
{
152+
"name": "_payload",
153+
"type": "unknown",
154+
"description": "",
155+
"optional": false
156+
},
157+
{
158+
"name": "signal",
159+
"type": "AbortSignal",
160+
"description": "",
161+
"optional": false
162+
},
163+
{
164+
"name": "_options",
165+
"type": "LangGraphSubmitOptions",
166+
"description": "",
167+
"optional": true
168+
}
169+
]
170+
}
171+
]
172+
},
32173
{
33174
"name": "FetchStreamTransport",
34175
"kind": "class",

0 commit comments

Comments
 (0)