provider::openai::on_router_ready
Internal: router::ready subscriber that re-declares this provider and refreshes its catalog.
empty object
- okbooleanrequired
OpenAI Chat Completions provider worker; implements provider::openai::stream and provider::openai::refresh_models behind llm-router.
Internal: router::ready subscriber that re-declares this provider and refreshes its catalog.
Refresh the OpenAI catalog slice from GET /v1/models and reconcile it through the router; returns the model count written.
Stream an OpenAI chat completion: resolve credentials, call the upstream Chat Completions API, and relay AssistantMessageEvent frames to writer_ref.
Single-variant role tags: exact-match on deserialize, correct wire string on serialize, and they let `AgentMessage` be an untagged union.