(id: string, name: string)
| 97 | } |
| 98 | |
| 99 | function toolStartLine(id: string, name: string) { |
| 100 | return chunk({ |
| 101 | delta: { |
| 102 | tool_calls: [ |
| 103 | { |
| 104 | index: 0, |
| 105 | id, |
| 106 | type: "function", |
| 107 | function: { |
| 108 | name, |
| 109 | arguments: "", |
| 110 | }, |
| 111 | }, |
| 112 | ], |
| 113 | }, |
| 114 | }) |
| 115 | } |
| 116 | |
| 117 | function toolArgsLine(value: string) { |
| 118 | return chunk({ |
no test coverage detected