- add new tool() api and tests
- fix schema validation - comment headers on tests
This commit is contained in:
parent
9686fc2ead
commit
6079cd8307
1 changed files with 578 additions and 401 deletions
|
|
@ -192,7 +192,7 @@ server.tool(
|
|||
}
|
||||
},
|
||||
required: ["stats"]
|
||||
},
|
||||
},
|
||||
async ({ data }) => {
|
||||
const mean = data.reduce((a, b) => a + b, 0) / data.length;
|
||||
const sorted = [...data].sort((a, b) => a - b);
|
||||
|
|
|
|||
Loading…
Reference in a new issue