@codefionn/llmleaf-client 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,6 +54,10 @@ for await (const event of client.responsesStream({
|
|
|
54
54
|
}
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
Streaming tool calls are exposed as `choice.delta.toolCalls`. Group fragments by the choice index
|
|
58
|
+
and each `ToolCallDelta.index`; retain `id` / `type` / function `name` whenever present, and append every
|
|
59
|
+
`function.arguments` fragment in arrival order until `finishReason === FinishReason.TOOL_CALLS`.
|
|
60
|
+
|
|
57
61
|
## Endpoints
|
|
58
62
|
|
|
59
63
|
```ts
|