Skip to content

Comments

Update docs to mention deprecation of LanguageModel params (topK and temperature) in non-extension contexts#189

Merged
reillyeon merged 6 commits intowebmachinelearning:mainfrom
isaacahouma:update-deprecation-docs
Feb 20, 2026
Merged

Update docs to mention deprecation of LanguageModel params (topK and temperature) in non-extension contexts#189
reillyeon merged 6 commits intowebmachinelearning:mainfrom
isaacahouma:update-deprecation-docs

Conversation

@isaacahouma
Copy link
Contributor

No description provided.

@isaacahouma isaacahouma changed the title Update deprecation docs Update docs to mention deprecation of LanguageModel params (topK and temperature) in non extension contexts Feb 13, 2026
@isaacahouma isaacahouma changed the title Update docs to mention deprecation of LanguageModel params (topK and temperature) in non extension contexts Update docs to mention deprecation of LanguageModel params (topK and temperature) in non-extension contexts Feb 13, 2026
Copy link
Contributor

@michaelwasserman michaelwasserman left a comment

Choose a reason for hiding this comment

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

Thanks, this generally looks good, but I have a few comments

isaacahouma and others added 2 commits February 19, 2026 17:21
Co-authored-by: Mike Wasserman <michaelwasserman@users.noreply.github.com>
Co-authored-by: Mike Wasserman <michaelwasserman@users.noreply.github.com>
interface LanguageModel : EventTarget {
static Promise<LanguageModel> create(optional LanguageModelCreateOptions options = {});
static Promise<Availability> availability(optional LanguageModelCreateCoreOptions options = {});
// **DEPRECATED**: This method is only available in extension contexts.
Copy link
Contributor

Choose a reason for hiding this comment

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

As I mentioned in person, I think we should move the web-extension specific parts of the API to a separate section of the spec, but this is good enough for now.

@michaelwasserman
Copy link
Contributor

@reillyeon for maintainer approval

@reillyeon reillyeon merged commit eaddfc9 into webmachinelearning:main Feb 20, 2026
2 checks passed
github-actions bot added a commit that referenced this pull request Feb 20, 2026
…temperature) in non-extension contexts (#189)

SHA: eaddfc9
Reason: push, by reillyeon

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants