Skip to content

feat(home): route Decisions requests and advertise support to Pi - #228

Merged
hkfires merged 4 commits into
devfrom
decisions
Dec 3, 2026
Merged

hkfires merged 4 commits into
devfrom
decisions

Conversation

@hkfires

@hkfires hkfires commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Use published model-route capabilities to schedule /v1/decisions requests and tell Pi which models can serve them.

  • Filter Decisions dispatch by the caller's API-key policy and recheck support on the selected route. For Copilot, require the account's current endpoint grant and keep dedicated Decisions routes out of ordinary chat dispatch.
  • Advertise home-decisions to CPA nodes and include supports_decisions in dispatch metadata. Pi's model catalog includes the flag only when the caller can access a route that supports Decisions.
  • Resolve configured aliases for keyless OpenAI-compatible groups and ignore legacy Decisions declarations on OpenAI-compatible routes.

Regression coverage

Cover Decisions dispatch over RESP, shared aliases under different API-key policies, Copilot grant revocation and expiry, and keyless OpenAI-compatible alias resolution.

@hkfires hkfires changed the title Decisions feat(home): route Decisions requests and advertise support to Pi Dec 3, 2026
@hkfires
hkfires merged commit ac1f040 into dev Dec 3, 2026
1 check passed
@hkfires
hkfires deleted the decisions branch December 3, 2026 04:44
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