provider::anthropic::on_router_ready
Internal: router::ready subscriber that re-declares this provider and refreshes its catalog.
empty object
- okbooleanrequired
Anthropic Messages API provider worker; implements provider::anthropic::stream and provider::anthropic::refresh_models behind llm-router.
exact versions are immutable; binary and bundle artifacts are digest-pinned.
Internal: router::ready subscriber that re-declares this provider and refreshes its catalog.
Refresh the Anthropic catalog slice from the upstream models endpoint and reconcile it through the router; returns the model count written.
Stream an Anthropic chat completion: resolve credentials, call the upstream Messages 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.