Skip to content

feat: persist upstream model capability exclusions - #16

Merged
SakuraPuare merged 4 commits into
mirainya:mainfrom
ShuYingJiYu:codex/persistent-model-exclusions
Sep 6, 2026
Merged

SakuraPuare merged 4 commits into
mirainya:mainfrom
ShuYingJiYu:codex/persistent-model-exclusions

Conversation

@SakuraPuare

Copy link
Copy Markdown
Collaborator

Summary

  • Persist deterministic upstream/model model_not_found exclusions in PostgreSQL.
  • Default to permanent exclusions (model_unsupported_ttl=0s), with optional TTL re-probing.
  • Apply the same exclusion state to standard and intelligent routing.
  • Keep /v1/models positive discovery from clearing negative capability state; hide models only when all discovered group providers are excluded.
  • Reuse the existing admin recovery action to delete an exclusion.
  • Guard the DDL against replicated schema_migrations rows when schema DDL itself is not replicated.

Validation

  • go test ./... passed on the develop host.
  • Cherry-picked cleanly from upstream/main at 567cabb.
  • Deployed and verified on Home and US MuxAPI clusters.

@SakuraPuare
SakuraPuare merged commit 401286b into mirainya:main Sep 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant