Increment 5-2a of the ollama_cloud plan (backend half):
- M-1: accept provider=ollama_cloud for channel monitors (create/update
binding oneof) and request templates (create binding oneof, historical
short list intentionally not extended to the CN platforms); add the
service-side monitorProviders/probeCapableProviders entries, an OpenAI-
compatible chat adapter and merge-mode denylist entry; replace-mode body
validation intentionally stays lenient (opencode_go precedent).
- C36: route ollama_cloud accounts in TestAccountConnection to protocol-
aware probes (adaptive = CC + Anthropic + native Responses; pinned
protocols = single endpoint) instead of the Claude tester that appended
?beta=true; default the empty model to the account's first outbound
model; share the native Responses probe with opencode_go; resolve the
platform-default Anthropic base for pinned-anthropic accounts.
- C29: quota-mode monitors read the OllamaCloudUsageService snapshot from
account extra (no live fetch) and map windows/balance/plan to
MonitorQuotaSnapshot; ineligible accounts (e.g. reverse-proxy base_url)
and missing/failed snapshots yield explainable errors with the snapshot
fetched_at instead of the generic usage-query error.
- C28: verified no change needed - monitorAccountQuotaCapability already
allows ollama_cloud via its default branch.
- Pin the composite default-model candidate list: ollama_cloud explicitly
contributes no static default list (admin_group.go), aligning with
gateway_handler.