()
| 11 | }; |
| 12 | |
| 13 | const toolPipeCall = () => ({ |
| 14 | run: runSummaryPipe, |
| 15 | type: 'function', |
| 16 | function: { |
| 17 | name: 'runSummaryPipe', |
| 18 | description: `Call a pipe that can summarize text.`, |
| 19 | parameters: { |
| 20 | type: 'object', |
| 21 | required: ['prompt'], |
| 22 | properties: { |
| 23 | prompt: { |
| 24 | type: 'string', |
| 25 | description: 'User input to summarize', |
| 26 | }, |
| 27 | }, |
| 28 | }, |
| 29 | }, |
| 30 | }); |
| 31 | |
| 32 | export default toolPipeCall; |
no outgoing calls
no test coverage detected