✔ Messages builds native system/tool history, bounds images, and seals a distinct mixed-pool variant (6.7439ms) ✔ Messages URL and native parameter contracts preserve other protocol paths and hard output budget (0.5237ms) ✔ native usage includes both cache buckets once, retains raw and rejects invalid counters (0.1551ms) ✔ real HTTP Messages JSON executes one tool, retains opaque history, actual URL and cache accounting (2052.8858ms) ✔ real HTTP Messages SSE executes one tool, retains opaque history, actual URL and cache accounting (2199.8092ms) ✔ Messages api-key authentication is explicit; mismatched model remains blocked with original usage (5.337ms) ✔ Messages bearer authentication is explicit; mismatched model remains blocked with original usage (4.5149ms) ✖ Messages redirect is not followed, either credential stays at the original server (4.2525ms) ✔ mixed Chat/Messages pool seals both variants and preserves one completed tool on failover (2463.7458ms) ✔ native JSON rejects incomplete stops, duplicate tools and hosted content (0.2863ms) ▶ strict SSE validates all blocks, terminal, event names, UTF8 and tool JSON before dispatch ✔ reject native stream 0 (1.1281ms) ✔ reject native stream 1 (0.2538ms) ✔ reject native stream 2 (0.1874ms) ✔ reject native stream 3 (0.169ms) ✔ reject native stream 4 (0.1337ms) ✔ reject native stream 5 (0.1425ms) ✔ reject native stream 6 (0.1494ms) ✔ reject native stream 7 (0.1256ms) ✔ reject native stream 8 (0.1693ms) ✔ strict SSE validates all blocks, terminal, event names, UTF8 and tool JSON before dispatch (3.0188ms) ✔ upstream SSE error retains original type/request ID and initial usage, never retries (4.7391ms) ✔ stop cancels the owned stream and retains partial consumption without running tool or replaying (67.1193ms) ✔ saved Messages import preserves auth choice, rejects endpoint duplication, and keeps source file untouched (445.5612ms) ℹ tests 23 ℹ suites 0 ℹ pass 22 ℹ fail 1 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 7452.8426 ✖ failing tests: test at tests\anthropic-messages.test.mjs:143:1 ✖ Messages redirect is not followed, either credential stays at the original server (4.2525ms) AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + undefined - 'http://127.0.0.1:49989/v1/messages' at TestContext. (file:///D:/Ai-project/REA%E9%80%86%E5%90%91/Agent-Workbench/tests/anthropic-messages.test.mjs:148:10) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Test.run (node:internal/test_runner/test:1409:7) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'http://127.0.0.1:49989/v1/messages', operator: 'strictEqual', diff: 'simple' }