Skip to content

Commit 7561a70

Browse files
authored
📦 NEW: Tool calls type in Delta (#27)
* 📦 NEW: Tool call types * 👌 IMPROVE: Type * 📦 NEW: Function type * 📦 NEW: Tool calls type in Delta
1 parent 7e3bf6f commit 7561a70

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/langbase/src/pipes/pipes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ interface ChoiceStream {
4343
interface Delta {
4444
role?: Role;
4545
content?: string;
46+
tool_calls?: ToolCall[];
4647
}
4748

4849
export interface Usage {

0 commit comments

Comments
 (0)