@codefionn/llmleaf-client 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefionn/llmleaf-client",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Official TypeScript/JavaScript client for the llmleaf LLM proxy.",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",