MiniCPM5-2B-WebGPU-Pi / validation /agent-cached-first-message.json
deyunma's picture
Copy from townbox/MiniCPM5-2B-WebGPU-Pi
4ac3af3 verified
Raw History Blame Contribute Delete
3.02 kB
{
"date": "2026-09-14T09:45:04.654Z",
"url": "http://127.0.0.1:4173/?source=local",
"checks": [
"First Send opens an accessible modal; no model download before confirmation",
"Focus stays in the modal; entire app remains dark under a light OS preference; five viewport sizes fit",
"Escape and Cancel restore the draft; real unsupported-GPU error supports retry without sending",
"Cancelling real model setup waits for cleanup and restores the unsent message",
"Cached auto-start or download confirmation loads the actual model, sends exactly once and answers with an unseen file value"
],
"errors": [],
"elapsedMs": 5720,
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Read first-message.txt using the read tool and tell me its exact contents."
}
],
"timestamp": 1789379110678
},
{
"role": "assistant",
"api": "minicpm-webgpu",
"provider": "browser",
"model": "Mike0021/MiniCPM5-2B-ONNX",
"timestamp": 1789379110679,
"content": [
{
"type": "thinking",
"thinking": "The user wants me to read the file first-message.txt using the read tool and tell them its exact contents. Let me do that."
},
{
"type": "toolCall",
"id": "7b3ff8e4-9cea-403b-87b3-565f8e260172",
"name": "read",
"arguments": {
"path": "/workspace/first-message.txt"
}
}
],
"usage": {
"input": 832,
"output": 50,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 882,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "toolUse"
},
{
"role": "toolResult",
"toolCallId": "7b3ff8e4-9cea-403b-87b3-565f8e260172",
"toolName": "read",
"content": [
{
"type": "text",
"text": "FIRST-db6ee4c9"
}
],
"details": {},
"isError": false,
"timestamp": 1789379112736
},
{
"role": "assistant",
"api": "minicpm-webgpu",
"provider": "browser",
"model": "Mike0021/MiniCPM5-2B-ONNX",
"timestamp": 1789379112736,
"content": [
{
"type": "thinking",
"thinking": "The file first-message.txt contains the content \"FIRST-db6ee4c9\"."
},
{
"type": "text",
"text": "The file `/workspace/first-message.txt` contains the exact contents:\n\n```\nFIRST-db6ee4c9\n```"
}
],
"usage": {
"input": 917,
"output": 49,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 966,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "stop"
}
],
"passed": true
}