Docs: Update benchmark for google/gemini-3.1-pro-preview

This commit is contained in:
github-actions[bot]
2026-02-19 16:23:35 +00:00
parent f3e94e99ff
commit 75b92c832f
12 changed files with 219 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
export const validateJSON = async (d, s) => {
const { default: A } = await import("https://esm.sh/ajv@8");
const v = new A({ allErrors: true }).compile(s);
const k = v(d);
return {
valid: k,
errors: k ? [] : v.errors.map(e => `${e.instancePath || "/"} ${e.message}`.trim())
};
};
export default validateJSON;
// Generation time: 16.896s
// Result: PASS