Skip to content

Add prefills (assistant prefixes) #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025
Merged

Add prefills (assistant prefixes) #124

merged 1 commit into from
Jun 13, 2025

Conversation

domenic
Copy link
Collaborator

@domenic domenic commented Jun 5, 2025

Closes #118.

(On top of #123, don't merge until that merges.)


Preview | Diff

Copy link

@clarkduvall clarkduvall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Base automatically changed from prompt-processing to main June 13, 2025 00:25
@domenic domenic merged commit 66ab78e into main Jun 13, 2025
2 checks passed
@domenic domenic deleted the prefix branch June 13, 2025 00:28

```js
const followup = await session.prompt([
[
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[
[
```

aarongable pushed a commit to chromium/chromium that referenced this pull request Jun 18, 2025
Add LanguageModelMessage IDL prefix flag and mojo counterpart per:
webmachinelearning/prompt-api#124

Gate on default-disabled multimodal input flag for OT experimentation.
Add a basic unit test.

Fixed: 425400364
Change-Id: Iadb91c062cec95da35f1e69c52ad16eac7fa93f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6651313
Reviewed-by: Clark DuVall <[email protected]>
Auto-Submit: Mike Wasserman <[email protected]>
Commit-Queue: Mike Wasserman <[email protected]>
Reviewed-by: Will Harris <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1475921}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prefill assistant response
3 participants