We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36cd954 + aa7ec07 commit ce17838Copy full SHA for ce17838
chatkit/server.py
@@ -276,6 +276,16 @@ def respond(
276
input_user_message: UserMessageItem | None,
277
context: TContext,
278
) -> AsyncIterator[ThreadStreamEvent]:
279
+ """Stream `ThreadStreamEvent` instances for a new user message.
280
+
281
+ Args:
282
+ thread: Metadata for the thread being processed.
283
+ input_user_message: The incoming message the server should respond to, if any.
284
+ context: Arbitrary per-request context provided by the caller.
285
286
+ Returns:
287
+ An async iterator that yields events representing the server's response.
288
+ """
289
pass
290
291
async def add_feedback( # noqa: B027
0 commit comments