Skip to content

Comments

Add retry support for the ModelProvider.generate method#20

Open
SasinduDilshara wants to merge 2 commits intoballerina-platform:mainfrom
SasinduDilshara:ad-retry-implementation-azure
Open

Add retry support for the ModelProvider.generate method#20
SasinduDilshara wants to merge 2 commits intoballerina-platform:mainfrom
SasinduDilshara:ad-retry-implementation-azure

Conversation

@SasinduDilshara
Copy link
Contributor

Add retry configuration support to Azure model provider

Fixes: ballerina-platform/ballerina-library#8122

Copy link
Member

@MaryamZi MaryamZi left a comment

Choose a reason for hiding this comment

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

The rest LGTM.

@SasinduDilshara SasinduDilshara changed the title Add retry configuration support to Azure model provider Add retry support for the ModelProvider.generate method Sep 3, 2025
@codecov
Copy link

codecov bot commented Oct 3, 2025

Codecov Report

❌ Patch coverage is 94.33962% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.96%. Comparing base (c038c46) to head (aec3b95).

Files with missing lines Patch % Lines
ballerina/provider_utils.bal 94.11% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   60.74%   63.96%   +3.22%     
==========================================
  Files           4        4              
  Lines         349      383      +34     
  Branches      103      111       +8     
==========================================
+ Hits          212      245      +33     
- Misses        137      138       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SasinduDilshara SasinduDilshara force-pushed the ad-retry-implementation-azure branch from 5e7555d to aec3b95 Compare October 20, 2025 09:18
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.

Add Retry Policy Support to Ballerina AI Model Providers

3 participants