[FIX] Azure AI schema filename mismatch#1846
Merged
chandrasekharan-zipstack merged 2 commits intomainfrom Mar 11, 2026
Merged
Conversation
Schema file was named azure_ai_foundry.json but get_provider() returns 'azure_ai'. The base class get_json_schema() uses get_provider() to construct the schema path, so it looked for azure_ai.json (non-existent), causing FileNotFoundError that crashed /supported_adapters/ endpoint with 500 error and broke all adapter icon loading. Rename to azure_ai.json to match get_provider() and fix adapter list rendering on settings pages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes (1)
⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
pk-zipstack
approved these changes
Mar 11, 2026
ritwik-g
approved these changes
Mar 11, 2026
Contributor
Test ResultsSummary
Runner Tests - Full Report
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Rename Azure AI Foundry adapter schema file from
azure_ai_foundry.jsontoazure_ai.jsonto match theget_provider()return value.Why
The base class
get_json_schema()constructs schema paths usingget_provider(). The Azure AI adapter returns'azure_ai'fromget_provider(), but the schema file was namedazure_ai_foundry.json. This mismatch caused aFileNotFoundErrorwhen loading the adapter, which crashed the entire/supported_adapters/endpoint (returning 500 error) and broke adapter icon loading across all settings pages.How
Renamed the schema file to match the provider name convention used by all other adapters.
Can this PR break any existing features. If yes, please list possible items. If no, please explain why.
No. This fixes a breaking issue. The schema file was inaccessible with its previous name, so this restores intended functionality without changing any API contracts or behavior.
Database Migrations
Env Config
Relevant Docs
Related Issues or PRs
/supported_adapters/endpoint regression from PR UN-3104 [FEAT]: Add Unstract Adapter Extension Skill and Azure AI Foundry Adapter #1721Dependencies Versions
Notes on Testing
Verify on staging:
/supported_adapters/endpoint returns 200 (not 500)Screenshots
N/A