-
Hello everyone, I'm currently working with the RetryFilter (an implementation of IFunctionInvocationFilter) which works perfectly when using the kernel.InvokeAsync() method. However, I am facing challenges getting the RetryFilter to work with the streaming method of IChatCompletionService, specifically GetStreamingChatMessageContentsAsync. My goal is to implement a fallback mechanism to a secondary service (similar to examples found in .NET) if the streaming operation fails. Has anyone managed to achieve this? If so, could you provide an example or guide on how to accomplish this? Below is a short code snippet demonstrating the service/method I am using: I appreciate any help or insights you can offer. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
We're now tracking this as an issue in #7856. |
Beta Was this translation helpful? Give feedback.
-
@KossiH, are you able to share what you're retrying? Is it the AI service? Or a service for one of your functions? |
Beta Was this translation helpful? Give feedback.
We're now tracking this as an issue in #7856.