[ https://issues.apache.org/jira/browse/FLINK-37095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruan Hang updated FLINK-37095: ------------------------------ Issue Type: Improvement (was: New Feature) > test case that used AI model may met quota not enough exception. > ---------------------------------------------------------------- > > Key: FLINK-37095 > URL: https://issues.apache.org/jira/browse/FLINK-37095 > Project: Flink > Issue Type: Improvement > Components: Flink CDC > Affects Versions: cdc-3.2.1 > Reporter: Yanquan Lv > Priority: Major > Fix For: cdc-3.4.0 > > > Met the following error message when running test in > FlinkPipelineUdfITCase.testTransformWithModel: > {code:java} > 2025-01-10T03:12:23.5137158Z Caused by: > dev.ai4j.openai4j.OpenAiHttpException: { > 2025-01-10T03:12:23.5137225Z "error": { > 2025-01-10T03:12:23.5137854Z "message": "You exceeded your current quota, > please check your plan and billing details. For more information on this > error, read the docs: > https://platform.openai.com/docs/guides/error-codes/api-errors.", > 2025-01-10T03:12:23.5137947Z "type": "insufficient_quota", > 2025-01-10T03:12:23.5138020Z "param": null, > 2025-01-10T03:12:23.5138104Z "code": "insufficient_quota" > 2025-01-10T03:12:23.5138172Z } > 2025-01-10T03:12:23.5138234Z } > 2025-01-10T03:12:23.5138364Z at > dev.ai4j.openai4j.Utils.toException(Utils.java:8) > 2025-01-10T03:12:23.5138583Z at > dev.ai4j.openai4j.SyncRequestExecutor.execute(SyncRequestExecutor.java:28) > 2025-01-10T03:12:23.5138761Z at > dev.ai4j.openai4j.RequestExecutor.execute(RequestExecutor.java:59) > 2025-01-10T03:12:23.5139026Z at > dev.langchain4j.model.openai.OpenAiChatModel.lambda$generate$0(OpenAiChatModel.java:124) > 2025-01-10T03:12:23.5139207Z at > dev.langchain4j.internal.RetryUtils.withRetry(RetryUtils.java:26) > 2025-01-10T03:12:23.5139274Z ... 26 more {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)