17ce678468
- Added detection for provider error finish reasons occurring before tool calls to identify fatal messages. - Prevented subprocess tool execution finalization from resetting a non-zero exit code when yield items exist. - Ensured a default error message is set in stderr when a subprocess fails after yielding a result.