The model invocation sometimes fails even though it seems the full turn has occurred.
I've enabled logging on dartantic.orchestrator and the interesting bits are:
FINE dartantic.orchestrator.default Initializing streaming orchestrator
INFO dartantic.orchestrator.default Executing 1 tool calls
INFO dartantic.orchestrator.default Executing 1 tool calls
INFO dartantic.orchestrator.default Executing 1 tool calls
INFO dartantic.orchestrator.default Executing 1 tool calls
INFO dartantic.orchestrator.default Executing 1 tool calls
INFO dartantic.orchestrator.default Executing 1 tool calls
INFO dartantic.orchestrator.default Executing 1 tool calls
INFO dartantic.orchestrator.default Executing 1 tool calls
FINE dartantic.orchestrator.default Finalizing streaming orchestrator
[TRACE] !!! UNHANDLED ERROR: ClientException: Le délai de temporisation de sémaphore a expiré, uri=https://generativelanguage.googleapis.com/v1beta/models/gemma-4-26b-a4b-it:streamGenerateContent?alt=sse
[TRACE] #0 IOClient.send (package:http/src/io_client.dart:229:7)
[TRACE] <asynchronous suspension>
[TRACE] #1 StreamingResource.sendStreamingRequest (package:googleai_dart/src/resources/streaming_resource.dart:81:26)
[TRACE] <asynchronous suspension>
[TRACE] #2 ModelsResource.streamGenerateContent (package:googleai_dart/src/resources/models_resource.dart:121:30)
[TRACE] <asynchronous suspension>
[TRACE] #3 _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:183:3)
[TRACE] <asynchronous suspension>
[TRACE]
It seems the error message relates to a low-level Windows networking/IO error (ERROR_SEM_TIMEOUT, code 121 -- I'm running on Windows 11 in French). This possibly happens when closing the connection during orchestrator finalization? Would it be possible to recover from this error and ignore it if the conversation was successfully completed?
The model invocation sometimes fails even though it seems the full turn has occurred.
I've enabled logging on
dartantic.orchestratorand the interesting bits are:It seems the error message relates to a low-level Windows networking/IO error (ERROR_SEM_TIMEOUT, code 121 -- I'm running on Windows 11 in French). This possibly happens when closing the connection during orchestrator finalization? Would it be possible to recover from this error and ignore it if the conversation was successfully completed?