[wpt-sync] Sync PR 63440 - LanguageModel.prompt() returns a sequence<LanguageModelMessageContent> if expecting tool call output
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63440 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63440
Details from upstream follow.
Jingyun Liu <jingyun@google.com> wrote:
LanguageModel.prompt() returns a sequence<LanguageModelMessageContent> if expecting tool call output
- https://github.com/webmachinelearning/prompt-api/pull/162#discussion_r4154198219
- previously it returns dynamic types (DOMString if no tool call,
sequence if has tool call)- Now if expectedOutput expects tool call, prompt() will return sequence
regardless of current model output- Update WPT and unit tests to cover the new resolution behavior.
Change-Id: I2d091e22a7d6dd235256b6976d817c760b59fca3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8504744
Commit-Queue: Jingyun Liu \<jingyun@google.com>
Reviewed-by: Mike Wasserman \<msw@chromium.org>
Reviewed-by: Tom Sepez \<tsepez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1715202}
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102991
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 108 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 105[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 45[GitHub] 196[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR : 3
Chrome
TIMEOUT: 2
NOTRUN : 44
Safari
OK : 1
FAIL : 45
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /ai/language-model/language-model-abort.tentative.https.window.html [wpt.fyi]
- Aborting LanguageModel.create().:
FAIL - Aborting LanguageModel.clone().:
FAIL - Aborting LanguageModel.prompt().:
FAIL - Aborting LanguageModel.promptStreaming().:
FAIL
- Aborting LanguageModel.create().:
- /ai/language-model/language-model-append.tentative.https.window.html [wpt.fyi]
- Simple LanguageModel.append() call:
FAIL - Check contextUsage increases from a simple LanguageModel.append() call:
FAIL - Test that append input exceeding the total context window rejects:
FAIL - append() should reject system role messages after other messages:
FAIL - LanguageModel.append() allows empty and coerced inputs:
FAIL - append() after initializing with user prompt should reject system role:
FAIL
- Simple LanguageModel.append() call:
- /ai/language-model/language-model-availability-available.tentative.https.window.html [wpt.fyi]
- LanguageModel.availability() is available with no options:
FAIL - LanguageModel.availability() returns available with supported options:
FAIL - LanguageModel.availability() returns unavailable and create() rejects with unsupported options:
FAIL - LanguageModel.availability() rejects with invalid options:
FAIL
- LanguageModel.availability() is available with no options:
- /ai/language-model/language-model-availability-sampling-mode.tentative.https.window.html [wpt.fyi]:
ERROR- LanguageModel.availability() accepts all valid sampling modes:
FAIL
- LanguageModel.availability() accepts all valid sampling modes:
- /ai/language-model/language-model-availability.tentative.https.window.html [wpt.fyi]
- LanguageModel.availability() is defined:
FAIL - LanguageModel.availability() returns a valid value with no options:
FAIL - LanguageModel.availability() rejects when given invalid language tags:
FAIL - LanguageModel.availability() returns a valid value with plausible options:
FAIL
- LanguageModel.availability() is defined:
- /ai/language-model/language-model-clone.tentative.https.window.html [wpt.fyi]
- Language Model Clone:
FAIL
- Language Model Clone:
- /ai/language-model/language-model-create-sampling-mode.tentative.https.window.html [wpt.fyi]:
ERROR- LanguageModel.create() accepts all valid sampling modes and preserves samplingMode on clone():
FAIL - LanguageModel.create() defaults samplingMode to balanced when omitted:
FAIL
- LanguageModel.create() accepts all valid sampling modes and preserves samplingMode on clone():
- /ai/language-model/language-model-create-user-activation.tentative.https.window.html [wpt.fyi]
- Create requires sticky user activation when availability is "downloadable":
FAIL
- Create requires sticky user activation when availability is "downloadable":
- /ai/language-model/language-model-create.tentative.https.window.html [wpt.fyi]
- Ensure sessions can be created:
FAIL - LanguageModel.create() returns a valid object with default options:
FAIL - LanguageModel.create() notifies its monitor on downloadprogress:
FAIL - Progress events are not emitted after aborted.:
FAIL - Create with initialPrompts:
FAIL - Create with empty initialPrompts:
FAIL - Create with initialPrompts without system role:
FAIL - Create with system role not ordered first should fail:
FAIL - Create multiple system role entries should fail:
FAIL - LanguageModel.create() rejects when given invalid language tags:
FAIL - LanguageModel.create() canonicalizes language tags:
FAIL
- Ensure sessions can be created:
- /ai/language-model/language-model-destroy.tentative.https.window.html [wpt.fyi]
- Language Model Destroy:
FAIL
- Language Model Destroy:
- /ai/language-model/language-model-from-detached-iframe.tentative.https.window.html [wpt.fyi]
- Language Model From Detached Iframe:
FAIL
- Language Model From Detached Iframe:
- /ai/language-model/language-model-iframe.tentative.https.html [wpt.fyi]
- Throw a 'NotAllowedError' when creating LanguageModel within cross-origin iframe:
FAIL - LanguageModel can be created within cross-origin iframe with permission policy:
FAIL - LanguageModel can be used within same-origin iframe:
FAIL - LanguageModel is unavailable within cross-origin iframe:
FAIL - LanguageModel is available within cross-origin iframe with permission policy:
FAIL - LanguageModel is available within same-origin iframe:
FAIL
- Throw a 'NotAllowedError' when creating LanguageModel within cross-origin iframe:
- /ai/language-model/language-model-params.tentative.https.window.html [wpt.fyi]:
ERROR - /ai/language-model/language-model-quota-exceeded.tentative.https.window.html [wpt.fyi]
- QuotaExceededError is thrown when initial prompts are too large.:
FAIL
- QuotaExceededError is thrown when initial prompts are too large.:
- /ai/language-model/language-model-tool-use.tentative.https.window.html [wpt.fyi]
- createLanguageModel should reject when tool has null inputSchema.:
FAIL(Chrome:TIMEOUT, Safari:FAIL) - createLanguageModel should reject when tool inputSchema is empty object without type property.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema is not an object.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema has no type property.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema type is not object.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema properties is not an object.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema required is not an array.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should propagate exception when inputSchema getter throws.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should propagate exception when inputSchema type getter throws.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool has empty name.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool has empty description.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tools array contains duplicate tool names.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool has no inputSchema.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool has circular reference in inputSchema:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when all tools have circular references:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should propagate V8 exception from custom toJSON():
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should propagate V8 exception from custom getter during serialization:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should fail-fast when one tool among many is invalid:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel with schema containing invalid-JSON-like text (trailing commas, comments) as string content succeeds because JSON.stringify escapes properly:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should succeed with empty tools array.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should succeed with no tools property.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tools provided but expectedOutputs is missing.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tools provided but expectedOutputs does not include tool-call.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should succeed when tools provided with tool-call in expectedOutputs.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should succeed with tool-call in expectedOutputs but no tools.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Caller-supplied tool calls preserve structured initial history and normalize empty arguments:
FAIL(Chrome:NOTRUN, Safari:FAIL) - append() and recreated sessions preserve caller-supplied tool-call history:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Caller-supplied tool-call input rejects invalid arguments and unsupported sessions:
FAIL(Chrome:NOTRUN, Safari:FAIL) - prompt() should return structured tool call messages in open-loop pattern:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Open-loop pattern - send tool response via follow-up prompt:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with DOM object (ImageBitmap) labeled as type object should reject:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Multimodal tool response with ImageBitmap throws NotSupportedError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Multimodal tool response with AudioBuffer throws NotSupportedError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - promptStreaming() should stream tool call messages:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool with no arguments should have empty arguments object:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Multiple tools can be declared and called:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response can include error field:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with circular reference should reject with DataError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with function value should reject with DataError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with BigInt value should reject with DataError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with valid serializable values should succeed:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Cloned model should preserve tools:
FAIL(Chrome:NOTRUN, Safari:FAIL) - prompt() returns both text and tool call in correct order when model outputs mixed response:
FAIL(Chrome:NOTRUN, Safari:FAIL) - prompt() should handle multiple batches of tool calls from model:
FAIL(Chrome:NOTRUN, Safari:FAIL) - promptStreaming() should handle multiple batches of tool calls from model:
FAIL(Chrome:NOTRUN, Safari:FAIL)
- createLanguageModel should reject when tool has null inputSchema.:
- /ai/language-model/prompt/context/destroyed.tentative.https.window.html [wpt.fyi]
- Detaching iframe while running prompt() should not cause memory leak:
FAIL
- Detaching iframe while running prompt() should not cause memory leak:
- /ai/language-model/prompt/context/measure.tentative.https.window.html [wpt.fyi]
- measureContextUsage returns a number greater than zero for text:
FAIL - measure message sequences of various roles, even after adding prompts:
FAIL
- measureContextUsage returns a number greater than zero for text:
- /ai/language-model/prompt/context/overflow.tentative.https.window.html [wpt.fyi]
- The
contextoverflowevent is fired when overall usage exceeds the context window:FAIL
- The
- /ai/language-model/prompt/context/usage-initial-prompt.tentative.https.window.html [wpt.fyi]
- Test that initialPrompt counts towards session contextUsage:
FAIL
- Test that initialPrompt counts towards session contextUsage:
- /ai/language-model/prompt/context/usage-prompt-quota-exceeded.tentative.https.window.html [wpt.fyi]
- Test that prompt input exceeding the total context window rejects:
FAIL
- Test that prompt input exceeding the total context window rejects:
- /ai/language-model/prompt/context/usage.tentative.https.window.html [wpt.fyi]
- Check contextUsage increases from a simple LanguageModel.prompt() call:
FAIL
- Check contextUsage increases from a simple LanguageModel.prompt() call:
- /ai/language-model/prompt/empty-inputs/empty-array-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.prompt() allows empty array input:
FAIL
- LanguageModel.prompt() allows empty array input:
- /ai/language-model/prompt/empty-inputs/empty-object-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.prompt() allows empty object input:
FAIL
- LanguageModel.prompt() allows empty object input:
- /ai/language-model/prompt/empty-inputs/empty-sequence-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.prompt() allows empty message sequence input:
FAIL
- LanguageModel.prompt() allows empty message sequence input:
- /ai/language-model/prompt/empty-inputs/empty-string-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.prompt() allows empty string input:
FAIL
- LanguageModel.prompt() allows empty string input:
- /ai/language-model/prompt/empty-inputs/null-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.prompt() allows null input:
FAIL
- LanguageModel.prompt() allows null input:
- /ai/language-model/prompt/empty-inputs/sequence-with-empty-string-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.prompt() allows message sequence with empty string input:
FAIL
- LanguageModel.prompt() allows message sequence with empty string input:
- /ai/language-model/prompt/empty-inputs/undefined-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.prompt() allows undefined input:
FAIL
- LanguageModel.prompt() allows undefined input:
- /ai/language-model/prompt/garbage-collection.tentative.https.window.html [wpt.fyi]
- Prompt API must continue even after GC has been performed.:
FAIL
- Prompt API must continue even after GC has been performed.:
- /ai/language-model/prompt/monitor-callback-exception.tentative.https.window.html [wpt.fyi]
- Language Model Prompt Monitor Callback Exception:
FAIL
- Language Model Prompt Monitor Callback Exception:
- /ai/language-model/prompt/multimodal/audio/audio-dual-post-abort.tentative.https.window.html [wpt.fyi]
- Multimodal prompt with dual audio inputs after aborting a previous request.:
FAIL
- Multimodal prompt with dual audio inputs after aborting a previous request.:
- /ai/language-model/prompt/multimodal/audio/audio-input.tentative.https.window.html [wpt.fyi]
- Prompt audio without
audioexpectedInput:FAIL - Test Audio initialPrompt:
FAIL - Prompt with Blob audio content:
FAIL - Prompt audio with blob containing invalid audio data.:
FAIL - Prompt with AudioBuffer:
FAIL - Prompt with BufferSource - ArrayBuffer:
FAIL
- Prompt audio without
- /ai/language-model/prompt/multimodal/audio/audio-post-abort.tentative.https.window.html [wpt.fyi]
- Multimodal audio prompt after aborting a previous multimodal audio prompt.:
FAIL
- Multimodal audio prompt after aborting a previous multimodal audio prompt.:
- /ai/language-model/prompt/multimodal/availability.tentative.https.window.html [wpt.fyi]
- LanguageModel.availability() is available with multimodal audio option:
FAIL - LanguageModel.availability() is available with multimodal image option:
FAIL - LanguageModel.availability() returns available with supported multimodal options:
FAIL - LanguageModel.availability() returns unavailable with unsupported multimodal options:
FAIL
- LanguageModel.availability() is available with multimodal audio option:
- /ai/language-model/prompt/multimodal/create.tentative.https.window.html [wpt.fyi]
- LanguageModel.create() succeeds with supported multimodal type and language options:
FAIL - LanguageModel.create() succeeds with supported multimodal initialPrompts:
FAIL - LanguageModel.create() fails with unsupported multimodal initialPrompts:
FAIL
- LanguageModel.create() succeeds with supported multimodal type and language options:
- /ai/language-model/prompt/multimodal/image/array-buffer-view-offset.tentative.https.window.html [wpt.fyi]
- Prompt with ArrayBufferView image content with an offset.:
FAIL
- Prompt with ArrayBufferView image content with an offset.:
- /ai/language-model/prompt/multimodal/image/array-buffer-view.tentative.https.window.html [wpt.fyi]
- Prompt with ArrayBufferView image content:
FAIL
- Prompt with ArrayBufferView image content:
- /ai/language-model/prompt/multimodal/image/array-buffer.tentative.https.window.html [wpt.fyi]
- Prompt with ArrayBuffer image content:
FAIL
- Prompt with ArrayBuffer image content:
- /ai/language-model/prompt/multimodal/image/blob.tentative.https.window.html [wpt.fyi]
- Prompt with Blob image content:
FAIL
- Prompt with Blob image content:
- /ai/language-model/prompt/multimodal/image/html-canvas-element.tentative.https.window.html [wpt.fyi]
- Prompt with HTMLCanvasElement image content:
FAIL
- Prompt with HTMLCanvasElement image content:
- /ai/language-model/prompt/multimodal/image/html-image-element-svg.tentative.https.window.html [wpt.fyi]
- Prompt with HTMLImageElement image content (with SVG):
FAIL
- Prompt with HTMLImageElement image content (with SVG):
- /ai/language-model/prompt/multimodal/image/html-image-element.tentative.https.window.html [wpt.fyi]
- Prompt with HTMLImageElement image content:
FAIL
- Prompt with HTMLImageElement image content:
- /ai/language-model/prompt/multimodal/image/image-bitmap.tentative.https.window.html [wpt.fyi]
- Prompt with ImageBitmap image content:
FAIL
- Prompt with ImageBitmap image content:
- /ai/language-model/prompt/multimodal/image/image-data.tentative.https.window.html [wpt.fyi]
- Prompt with ImageData image content:
FAIL
- Prompt with ImageData image content:
- /ai/language-model/prompt/multimodal/image/image-dual-post-abort.tentative.https.window.html [wpt.fyi]
- Multimodal prompt with dual image inputs after aborting a previous request.:
FAIL
- Multimodal prompt with dual image inputs after aborting a previous request.:
- /ai/language-model/prompt/multimodal/image/image-post-abort.tentative.https.window.html [wpt.fyi]
- Multimodal image prompt after aborting a previous multimodal image prompt.:
FAIL
- Multimodal image prompt after aborting a previous multimodal image prompt.:
- /ai/language-model/prompt/multimodal/image/initial-prompt.tentative.https.window.html [wpt.fyi]
- Test Image initialPrompt:
FAIL
- Test Image initialPrompt:
- /ai/language-model/prompt/multimodal/image/offscreen-canvas.tentative.https.window.html [wpt.fyi]
- Prompt with OffscreenCanvas image content:
FAIL
- Prompt with OffscreenCanvas image content:
- /ai/language-model/prompt/multimodal/image/svg-image-element.tentative.https.window.html [wpt.fyi]
- Prompt with SVGImageElement image content:
FAIL
- Prompt with SVGImageElement image content:
- /ai/language-model/prompt/multimodal/image/without-image-expected-input.tentative.https.window.html [wpt.fyi]
- Prompt image without
imageexpectedInput:FAIL
- Prompt image without
- /ai/language-model/prompt/multimodal/mix-post-abort.tentative.https.window.html [wpt.fyi]
- Multimodal mix prompt after aborting a previous multimodal mix prompt.:
FAIL
- Multimodal mix prompt after aborting a previous multimodal mix prompt.:
- /ai/language-model/prompt/multimodal/prompt-multimodal.tentative.https.window.html [wpt.fyi]
- Prompt with type:"text" and image content should reject:
FAIL - Prompt with assistant role should reject with multimodal input:
FAIL
- Prompt with type:"text" and image content should reject:
- /ai/language-model/prompt/multimodal/video/html-video-element.tentative.https.window.html [wpt.fyi]
- Prompt with HTMLVideoElement image content:
FAIL
- Prompt with HTMLVideoElement image content:
- /ai/language-model/prompt/multimodal/video/initial-prompt.tentative.https.window.html [wpt.fyi]
- Test Video initialPrompt:
FAIL
- Test Video initialPrompt:
- /ai/language-model/prompt/multimodal/video/video-dual-post-abort.tentative.https.window.html [wpt.fyi]
- Multimodal prompt with dual video inputs after aborting a previous request.:
FAIL
- Multimodal prompt with dual video inputs after aborting a previous request.:
- /ai/language-model/prompt/multimodal/video/video-frame.tentative.https.window.html [wpt.fyi]
- Prompt with VideoFrame image content:
FAIL
- Prompt with VideoFrame image content:
- /ai/language-model/prompt/multimodal/video/video-post-abort.tentative.https.window.html [wpt.fyi]
- Multimodal video prompt after aborting a previous multimodal video prompt.:
FAIL
- Multimodal video prompt after aborting a previous multimodal video prompt.:
- /ai/language-model/prompt/multimodal/video/without-video-expected-input.tentative.https.window.html [wpt.fyi]
- Prompt video without
imageexpectedInput:FAIL
- Prompt video without
- /ai/language-model/prompt/prompt-concurrent.tentative.https.window.html [wpt.fyi]
- Multiple LanguageModel.prompt() calls with identical inputs are resolved successfully:
FAIL - Multiple LanguageModel.prompt() calls with divergent inputs are resolved successfully:
FAIL
- Multiple LanguageModel.prompt() calls with identical inputs are resolved successfully:
- /ai/language-model/prompt/prompt-post-abort.tentative.https.window.html [wpt.fyi]
- Prompt after aborting a previous prompt.:
FAIL
- Prompt after aborting a previous prompt.:
- /ai/language-model/prompt/prompt-simple-question.tentative.https.window.html [wpt.fyi]
- Check capital of France:
FAIL
- Check capital of France:
- /ai/language-model/prompt/prompt.tentative.https.window.html [wpt.fyi]
- Simple LanguageModel.prompt() call:
FAIL
- Simple LanguageModel.prompt() call:
- /ai/language-model/prompt/rejections.tentative.https.window.html [wpt.fyi]
- prompt() should reject system role messages after other messages:
FAIL - prompt() after initializing with user prompt should reject system role:
FAIL
- prompt() should reject system role messages after other messages:
- /ai/language-model/prompt/streaming/empty-array-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.promptStreaming() allows empty array input:
FAIL
- LanguageModel.promptStreaming() allows empty array input:
- /ai/language-model/prompt/streaming/empty-object-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.promptStreaming() allows empty object input:
FAIL
- LanguageModel.promptStreaming() allows empty object input:
- /ai/language-model/prompt/streaming/empty-sequence-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.promptStreaming() allows empty message sequence input:
FAIL
- LanguageModel.promptStreaming() allows empty message sequence input:
- /ai/language-model/prompt/streaming/empty-string-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.promptStreaming() allows empty string input:
FAIL
- LanguageModel.promptStreaming() allows empty string input:
- /ai/language-model/prompt/streaming/garbage-collection.tentative.https.window.html [wpt.fyi]
- Prompt Streaming API must continue even after GC has been performed.:
FAIL
- Prompt Streaming API must continue even after GC has been performed.:
- /ai/language-model/prompt/streaming/null-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.promptStreaming() allows null input:
FAIL
- LanguageModel.promptStreaming() allows null input:
- /ai/language-model/prompt/streaming/prompt-streaming-concurrent.tentative.https.window.html [wpt.fyi]
- Multiple LanguageModel.promptStreaming() calls with identical inputs are resolved successfully:
FAIL - Multiple LanguageModel.promptStreaming() calls with divergent inputs are resolved successfully:
FAIL
- Multiple LanguageModel.promptStreaming() calls with identical inputs are resolved successfully:
- /ai/language-model/prompt/streaming/prompt-streaming-post-abort.tentative.https.window.html [wpt.fyi]
- Prompt after aborting a previous promptStreaming.:
FAIL
- Prompt after aborting a previous promptStreaming.:
- /ai/language-model/prompt/streaming/prompt-streaming.tentative.https.window.html [wpt.fyi]
- LanguageModel.promptStreaming yields non-empty response:
FAIL
- LanguageModel.promptStreaming yields non-empty response:
- /ai/language-model/prompt/streaming/sequence-with-empty-string-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.promptStreaming() allows message sequence with empty string input:
FAIL
- LanguageModel.promptStreaming() allows message sequence with empty string input:
- /ai/language-model/prompt/streaming/undefined-input.tentative.https.window.html [wpt.fyi]
- LanguageModel.promptStreaming() allows undefined input:
FAIL
- LanguageModel.promptStreaming() allows undefined input:
- /ai/language-model/response-constraint/json-schema/array.tentative.https.window.html [wpt.fyi]
- Prompt should work with an array json schema constraint.:
FAIL
- Prompt should work with an array json schema constraint.:
- /ai/language-model/response-constraint/json-schema/boolean.tentative.https.window.html [wpt.fyi]
- Prompt should work with a boolean json schema constraint.:
FAIL
- Prompt should work with a boolean json schema constraint.:
- /ai/language-model/response-constraint/json-schema/circular-references-rejection.tentative.https.window.html [wpt.fyi]
- Prompt should reject response schemas with circular references:
FAIL
- Prompt should reject response schemas with circular references:
- /ai/language-model/response-constraint/json-schema/integer-bounded.tentative.https.window.html [wpt.fyi]
- Prompt should work with a bounded integer json schema constraint.:
FAIL
- Prompt should work with a bounded integer json schema constraint.:
- /ai/language-model/response-constraint/json-schema/integer.tentative.https.window.html [wpt.fyi]
- Prompt should work with an integer json schema constraint.:
FAIL
- Prompt should work with an integer json schema constraint.:
- /ai/language-model/response-constraint/json-schema/invalid-type-rejection.tentative.https.window.html [wpt.fyi]
- Prompt should reject response schemas with invalid types:
FAIL
- Prompt should reject response schemas with invalid types:
- /ai/language-model/response-constraint/json-schema/null.tentative.https.window.html [wpt.fyi]
- Prompt should work with a null json schema constraint.:
FAIL
- Prompt should work with a null json schema constraint.:
- /ai/language-model/response-constraint/json-schema/number-bounded.tentative.https.window.html [wpt.fyi]
- Prompt should work with a bounded number json schema constraint.:
FAIL
- Prompt should work with a bounded number json schema constraint.:
- /ai/language-model/response-constraint/json-schema/number.tentative.https.window.html [wpt.fyi]
- Prompt should work with a number json schema constraint.:
FAIL
- Prompt should work with a number json schema constraint.:
- /ai/language-model/response-constraint/json-schema/object.tentative.https.window.html [wpt.fyi]
- Prompt should work with an object json schema constraint.:
FAIL
- Prompt should work with an object json schema constraint.:
- /ai/language-model/response-constraint/json-schema/prefix-bad.tentative.https.window.html [wpt.fyi]
- Prompt should reject if the prefix deviates from the json schema constraint.:
FAIL
- Prompt should reject if the prefix deviates from the json schema constraint.:
- /ai/language-model/response-constraint/json-schema/prefix-good.tentative.https.window.html [wpt.fyi]
- Prompt should work when a valid response json schema and matching prefix is provided.:
FAIL
- Prompt should work when a valid response json schema and matching prefix is provided.:
- /ai/language-model/response-constraint/json-schema/response-schema-omitted-from-input.tentative.https.window.html [wpt.fyi]
- Prompt should omit response schema from input.:
FAIL
- Prompt should omit response schema from input.:
- /ai/language-model/response-constraint/json-schema/string.tentative.https.window.html [wpt.fyi]
- Prompt should work with a string json schema constraint.:
FAIL
- Prompt should work with a string json schema constraint.:
- /ai/language-model/response-constraint/json-schema/valid-schema-success.tentative.https.window.html [wpt.fyi]
- Prompt should work when a valid response json schema is provided.:
FAIL
- Prompt should work when a valid response json schema is provided.:
- /ai/language-model/response-constraint/regex/boolean.tentative.https.window.html [wpt.fyi]
- Prompt should work with a boolean regex constraint.:
FAIL
- Prompt should work with a boolean regex constraint.:
- /ai/language-model/response-constraint/regex/bullet-points.tentative.https.window.html [wpt.fyi]
- Prompt should work with a bullet points regex constraint.:
FAIL
- Prompt should work with a bullet points regex constraint.:
- /ai/language-model/response-constraint/regex/character-range.tentative.https.window.html [wpt.fyi]
- Prompt should work with a character range regex constraint.:
FAIL
- Prompt should work with a character range regex constraint.:
- /ai/language-model/response-constraint/regex/csv-row.tentative.https.window.html [wpt.fyi]
- Prompt should work with a CSV row regex constraint.:
FAIL
- Prompt should work with a CSV row regex constraint.:
- /ai/language-model/response-constraint/regex/date.tentative.https.window.html [wpt.fyi]
- Prompt should work with a date regex constraint.:
FAIL
- Prompt should work with a date regex constraint.:
- /ai/language-model/response-constraint/regex/decimal.tentative.https.window.html [wpt.fyi]
- Prompt should work with a decimal regex constraint.:
FAIL
- Prompt should work with a decimal regex constraint.:
- /ai/language-model/response-constraint/regex/email.tentative.https.window.html [wpt.fyi]
- Prompt should work with an email regex constraint.:
FAIL
- Prompt should work with an email regex constraint.:
- /ai/language-model/response-constraint/regex/enumeration.tentative.https.window.html [wpt.fyi]
- Prompt should work with an enumeration regex constraint.:
FAIL
- Prompt should work with an enumeration regex constraint.:
- /ai/language-model/response-constraint/regex/exact-length.tentative.https.window.html [wpt.fyi]
- Prompt should work with an exact length regex constraint.:
FAIL
- Prompt should work with an exact length regex constraint.:
- /ai/language-model/response-constraint/regex/integer.tentative.https.window.html [wpt.fyi]
- Prompt should work with an integer regex constraint.:
FAIL
- Prompt should work with an integer regex constraint.:
- /ai/language-model/response-constraint/regex/list.tentative.https.window.html [wpt.fyi]
- Prompt should work with a list regex constraint.:
FAIL
- Prompt should work with a list regex constraint.:
- /ai/language-model/response-constraint/regex/literal.tentative.https.window.html [wpt.fyi]
- Prompt should work with a literal regex constraint.:
FAIL
- Prompt should work with a literal regex constraint.:
- /ai/language-model/response-constraint/regex/max-length.tentative.https.window.html [wpt.fyi]
- Prompt should work with a max length regex constraint.:
FAIL
- Prompt should work with a max length regex constraint.:
- /ai/language-model/response-constraint/regex/prefix-bad.tentative.https.window.html [wpt.fyi]
- Prompt should reject if the prefix deviates from the regex constraint.:
FAIL
- Prompt should reject if the prefix deviates from the regex constraint.:
- /ai/language-model/response-constraint/regex/prefix-good.tentative.https.window.html [wpt.fyi]
- Prompt should work with a valid regex constraint and matching prefix.:
FAIL
- Prompt should work with a valid regex constraint and matching prefix.:
- /ai/language-model/response-constraint/regex/quote.tentative.https.window.html [wpt.fyi]
- Prompt should work with a quote regex constraint.:
FAIL
- Prompt should work with a quote regex constraint.:
- /ai/language-model/response-constraint/regex/time.tentative.https.window.html [wpt.fyi]
- Prompt should work with a time regex constraint.:
FAIL
- Prompt should work with a time regex constraint.:
- /ai/language-model/response-constraint/regex/url.tentative.https.window.html [wpt.fyi]
- Prompt should work with a URL regex constraint.:
FAIL
- Prompt should work with a URL regex constraint.:
- /ai/language-model/response-constraint/regex/word.tentative.https.window.html [wpt.fyi]
- Prompt should work with a word regex constraint.:
FAIL
- Prompt should work with a word regex constraint.:
Description
•