Closed paveliciousness closed 1 month ago
Hello @paveliciousness
Thanks for the suggestion. I'm currently working on general integration of ILogger
to provide more detailed output. Would this be an alternative or addition to your suggestion?
Cheers, JoKi
Hi @jochenkirstaetter,
Thank you for the update! Integrating ILogger sounds promising and could serve as a solid alternative. However, I believe that including JSON fields in custom exceptions or returning JSON in the exception messages would enhance our code-level handling.
Best regards, Pavel
Hi @paveliciousness
Thanks for your feedback. I'm working on more detailed info in case of an unexpected behaviour.
Using custom exceptions is an interesting approach which I was considering myself. Thanks for your suggestion.
Cheers, JoKi
Request to extent API:
Add a
Status
field to theFileResource
class to track the current status of the file resource.Modify the
GenerateContent()
method to return detailed error information.