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