merge main into fix/tool-call-streaming

This commit is contained in:
Patrick Wozniak
2026-08-25 17:18:02 +02:00
37 changed files with 1022 additions and 207 deletions
+2
View File
@@ -112,6 +112,8 @@ export interface StreamOptions {
headers?: Record<string, string>
fetch?: typeof fetch
maxTokens?: number
temperature?: number
sessionId?: string
/** Resolved pi thinking level; forwarded only through the model's map. */
reasoning?: string
onPayload?: (payload: unknown, model: ModelLike) => unknown | Promise<unknown>