Retry With Feedback Policy
class RetryWithFeedbackPolicy(maxRetries: Int = DEFAULT_MAX_RETRIES, message: String = DEFAULT_MESSAGE) : EmptyResponsePolicy
Re-prompt the LLM with message up to maxRetries times before giving up. After exhaustion returns EmptyResponseAction.Throw so the caller sees the typed exception rather than blank content.
Counter is shared across calls and reset by onNonEmpty. Safe for concurrent use as a Spring singleton.