You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gnerate.text doesn't work immediately after service restarts #52881
gnerate.text fails immediately after service restarts.
Once the API is called or the other APIs are called, it succeeds.
Plugins
none
OpenCode version
opencode v0.0.0-v2-202610030153
Steps to reproduce
$ opencode service restart
$ opencode api post /api/experimental/generate --data '{
"prompt": "Return only the word OK.",
"model": {
"providerID": "openai",
"id": "gpt-5.6-luna"
}
It says:
{"_tag":"InvalidRequestError","message":"Model unavailable: openai/gpt-5.6-luna"}
HTTP 400 Bad Request
Activity
github-actions commentedon Oct 3, 2026
This issue might be a duplicate of existing issues. Please check:
generate.textdoesn't work immediately after service restarts #52241: The samegenerate.textfailure immediately after a service restart, withModel unavailable: openai/gpt-5.6-luna.fix(core): await plugin activation before text generation (anomalyco#…
kikuchan commentedon Oct 10, 2026
commit 55dde88 also resolve the issue. thanks!