Commit 050e316
committed
Fix GPT-5 Responses API issues with condensing and image support
- Fix manual condensing bug by setting skipPrevResponseIdOnce flag in Task.ts
- Revert to string-based format for full conversations after condensing
- Add proper image support with structured format when using previous_response_id
- Update test suite to match new implementation where all models use Responses API
- Handle 400 errors gracefully when previous_response_id is not found
Fixes issues introduced in PR #68641 parent 7457a24 commit 050e316
File tree
4 files changed
+389
-689
lines changed- src
- api
- providers
- __tests__
- core/task
4 files changed
+389
-689
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments