Skip to content

Commit b9cdaa7

Browse files
committed
Disable Google Gemini retry to workaround upstream bug (mscraftsman/generative-ai#144)
1 parent d397142 commit b9cdaa7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/BE/Services/Models/ChatServices/GoogleAI/GoogleAI2ChatService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ var x when x.IsLowOrMinimal() => 1024,
9494
{
9595
Retry = new Retry()
9696
{
97-
Maximum = 3,
98-
Initial = 1,
99-
Multiplies = 2,
97+
Maximum = 1,
10098
},
10199
Timeout = NetworkTimeout,
102100
}, cancellationToken))

0 commit comments

Comments
 (0)