Skip to content

Conversation

@muzahidul-opti
Copy link
Contributor

@muzahidul-opti muzahidul-opti commented Nov 27, 2025

Summary

  • Create a CmabConfig file
  • Inject cmab config with prediction endpoint to client

Test plan

  • New test case added

Issues

  • FSSDK-12105


let DEFAULT_CMAB_CACHE_TIMEOUT = 30 * 60 // 30 minutes
let DEFAULT_CMAB_CACHE_SIZE = 100
let CMAB_PREDICTION_END_POINT = "https://prediction.cmab.optimizely.com/predict"

Choose a reason for hiding this comment

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

we need to make this a template string with a placeholder for the ruleId (If the user is using a custom url, we cannot force them to have the ruleId at the end)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added

@muzahidul-opti muzahidul-opti merged commit b7b8435 into master Dec 1, 2025
8 of 12 checks passed
@muzahidul-opti muzahidul-opti deleted the FSSDK-12105-injec-prediction-endpoint branch December 1, 2025 15: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.

3 participants