[6157] fix(sdk): Resolve custom providers by stable slug - #6278
[6157] fix(sdk): Resolve custom providers by stable slug#6278nightcityblade wants to merge 1 commit into
Conversation
|
Someone is attempting to deploy a commit to the agenta projects Team on Vercel. A member of the Team first needs to authorize it. |
|
✅ Thanks @nightcityblade! This PR now meets the contribution requirements and has been reopened. A maintainer will review it soon. |
|
nightcityblade seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Disabled knowledge base sources:
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe secrets manager now resolves custom providers by stable slug, rewrites legacy model-key namespaces, and raises ChangesCustom provider resolution
Estimated code review effort: 2 (Simple) | ~10 minutes ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
Summary
Testing
Verified locally
cd sdks/python && uv sync --lockeduv run --no-sync pytest -q oss/tests/pytest/unit/test_secrets_manager_connection_slug.py oss/tests/pytest/unit/test_secrets_manager_model_normalization.py oss/tests/pytest/unit/test_secrets_manager_custom_provider_ssrf.py— 112 passedruff format agenta/sdk/managers/secrets.py oss/tests/pytest/unit/test_secrets_manager_connection_slug.pyruff check --fix agenta/sdk/managers/secrets.py oss/tests/pytest/unit/test_secrets_manager_connection_slug.py— passedAdded or updated tests
QA follow-up
Demo
Focused regression verification for stable-slug resolution and the unmatched-key guard:
Checklist
Contributor Resources