Skip to content

fix(core): await plugin activation before text generation (#52881) - #52887

Open
kikuchan wants to merge 2 commits into
anomalyco:v2from
kikuchan:fix/52881
Open

kikuchan wants to merge 2 commits into
anomalyco:v2from
kikuchan:fix/52881

Conversation

@kikuchan

@kikuchan kikuchan commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #52881

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Fixes #52881 by waiting plugin activation before text generation.

How did you verify your code works?

$ opencode service restart
$ opencode api post /api/experimental/generate --data '{
  "prompt": "Return only the word OK.",
  "model": {
    "providerID": "openai",
    "id": "gpt-5.6-luna"
  }

returns

{"data":{"text":"OK"}}

as expected.

Screenshots / recordings

none

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@github-actions github-actions Bot added contributor needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant