offgrid-ai 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/benchmark.mjs +1 -11
package/package.json
CHANGED
package/src/benchmark.mjs
CHANGED
|
@@ -28,17 +28,7 @@ export function createRunId(date = new Date()) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export function buildToolPrompt(benchmark, kind) {
|
|
31
|
-
|
|
32
|
-
return [
|
|
33
|
-
"Create a complete, self-contained HTML file for the request below.",
|
|
34
|
-
"Write the file as `index.html` in the current working directory.",
|
|
35
|
-
"Do not create any folders, do not infer a filesystem path, and do not print the HTML in chat.",
|
|
36
|
-
"",
|
|
37
|
-
"The HTML must include all CSS and JavaScript inline and must not depend on external network assets.",
|
|
38
|
-
"After building the page, run a visual QA pass with agent-browser or Playwright: open the saved index.html, inspect the rendered result, and fix any obvious layout, animation, console, or viewport issues before you finish.",
|
|
39
|
-
"",
|
|
40
|
-
benchmark.prompt,
|
|
41
|
-
].join("\n");
|
|
31
|
+
return benchmark.prompt;
|
|
42
32
|
}
|
|
43
33
|
|
|
44
34
|
export async function loadBenchmarks(benchDir) {
|