Skip to content

Add AIGateway price guard, repo_path metadata, and LLM type filters#1185

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2625_6bc0200
Jun 17, 2026
Merged

Add AIGateway price guard, repo_path metadata, and LLM type filters#1185
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2625_6bc0200

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Added pricing_configured metadata and AIGateway price guard to filter unconfigured external/serverless models in EE/SaaS, returning a 500 error on direct calls if prices are missing.
  • Updated /v1/models to support multiple llm_types filters and enriched model metadata with repo_path for CSGHub and external LLMs.
  • Ensured CE editions remain unaffected by these price checks, while SaaS/EE enforce SKU configuration before models become visible or callable.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1184

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HaiHui886 HaiHui886 merged commit e18f201 into main Jun 17, 2026
7 checks passed
@HaiHui886 HaiHui886 deleted the sync_mr_2625_6bc0200 branch June 17, 2026 14:38
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.

3 participants