Skip to content

feat: add backend provider model controls#208

Draft
aditya-damerla128 wants to merge 5 commits into
devfrom
feat/provider-model-controls
Draft

feat: add backend provider model controls#208
aditya-damerla128 wants to merge 5 commits into
devfrom
feat/provider-model-controls

Conversation

@aditya-damerla128

@aditya-damerla128 aditya-damerla128 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the backend foundation for provider-aware model controls:

  • provider/model registry rows for discovered or seeded models
  • parent-key model restriction storage and manager admin endpoints
  • effective model list endpoint for parent or agent keys
  • chat request enforcement for { provider, model }
  • per-request gateway provider routing with x-portkey-provider
  • agent YAML parsing for provider, model, and allowedModels

This is intentionally a backend tracking PR. It does not include the manager UI or widget selector yet.

Refs #182

Validation

  • npm test -- manager-auth.test.js
  • npm run build
  • npm run lint passes with existing warnings only

@aditya-damerla128 aditya-damerla128 linked an issue Jun 22, 2026 that may be closed by this pull request
@aditya-damerla128 aditya-damerla128 force-pushed the feat/provider-model-controls branch from 74c2c7b to bf88b15 Compare June 30, 2026 00:06
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.

Implement user restrictions based on Admin, Developer, and Consumer roles

1 participant