Skip to content

Commit 9ddd8e6

Browse files
added batch calling
1 parent 7ea28f2 commit 9ddd8e6

7 files changed

Lines changed: 4356 additions & 1542 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# llmasaservice-client
22

3+
## 0.11.0
4+
5+
### Minor Changes
6+
7+
- Added `SendRequestOptions` type and optional `requestOptions` parameter to `send()`.
8+
Callers can now pass `{ batch: true }` as the last argument to opt into async batch chat requests.
9+
The `batch` flag is included in the outgoing request body when set.
10+
`lastCallId`, `onComplete`, and all existing behavior remain fully backward compatible.
11+
312
## 0.8.0
413

514
### Minor Changes

index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11

2-
export { useLLM, UseLLMReturnType } from "./src/useLLM";
2+
export { useLLM, UseLLMReturnType, SendRequestOptions } from "./src/useLLM";
3+
export type { Message, DataItem } from "./src/useLLM";
34
export * from './src/LLMAsAService';

0 commit comments

Comments
 (0)