- Modified completeSubtask to check if the model is GPT-5 before setting skipPrevResponseIdOnce
- GPT-5 models now maintain previous_response_id chain after subtask completion
- Non-GPT-5 models continue to skip previous_response_id as before
- Added comprehensive tests for both GPT-5 and non-GPT-5 behavior
Fixes#8402