You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TRI-1170] Ensure @trigger.dev/openai background tasks have retry configuration #422
changed the title [-]Ensure `@trigger.dev/openai` background tasks have retry configuration[/-][+][TRI-1170] Ensure `@trigger.dev/openai` background tasks have retry configuration[/+]on Aug 28, 2023
@ericallam I have added the retry config in backgroundCreateCompletion method. Before raising PR I tried to test this. but facing an issue because of my openAPI API key expiration.
our web platform is encountering an issue where the correct error message is not being displayed as expected. To address this concern, I have delved deeper into the matter and am actively working on resolving it.
Activity
[-]Ensure `@trigger.dev/openai` background tasks have retry configuration[/-][+][TRI-1170] Ensure `@trigger.dev/openai` background tasks have retry configuration[/+]RamK777-stack commentedon Sep 1, 2023
Hi @ericallam I am interested to work in this issue. can you please explain more about this?
We already passing
{ "500-599": { strategy: "backoff", limit: 5, minTimeoutInMs: 1000, maxTimeoutInMs: 30000, factor: 1.8, randomize: true, }, "429": { strategy: "backoff", limit: 10, minTimeoutInMs: 1000, maxTimeoutInMs: 60000, factor: 2, randomize: true, },in backgroundCreateChatCompletion method but not in backgroundCreateCompletion .If you could provide some clarification, it would be more helpful !!
ericallam commentedon Sep 1, 2023
Oh yea I think we just need to copy that retry config over to backgroundCreateCompletion then 👍
RamK777-stack commentedon Sep 1, 2023
OK thanks, I will work on it.
RamK777-stack commentedon Sep 4, 2023
@ericallam I have added the retry config in backgroundCreateCompletion method. Before raising PR I tried to test this. but facing an issue because of my openAPI API key expiration.
our web platform is encountering an issue where the correct error message is not being displayed as expected. To address this concern, I have delved deeper into the matter and am actively working on resolving it.
discussion regarding this issue in help forum https://discord.com/channels/1066956501299777596/1147568642389721159
Need your guidance, on how to proceed further !!