Docs: Update benchmark for openrouter/pony-alpha

This commit is contained in:
github-actions[bot]
2026-02-06 20:56:45 +00:00
parent 76e2886475
commit 4be9446973
10 changed files with 199 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
const validateJSON = async (json, schema) => {
const { default: Ajv } = await import('https://esm.sh/ajv');
const validate = new Ajv().compile(schema);
const valid = validate(json);
return {
valid,
errors: valid ? [] : validate.errors.map(e => `${e.instancePath} ${e.message}`)
};
};
export default validateJSON;
// Generation time: 103.740s
// Result: PASS