| 1 | package provider |
| 2 | |
| 3 | import "errors" |
| 4 | |
| 5 | // ErrEmptyResponse marks a clean provider completion that carried no text, |
| 6 | // reasoning, tool calls, response items, or server-side activity. The agent |
| 7 | // may safely retry the frozen request because the empty attempt produced no |
| 8 | // assistant message that can be committed to conversation history. |
| 9 | var ErrEmptyResponse = errors.New("empty provider response") |
| 10 |