- Implement HookRetry method to handle retry scenarios in chat streaming - Add retry tracking with RetryTimes and Retry flag in context - Create retryMessages method to modify messages for retry attempts - Enhance error handling and logging for retry scenarios - Add color-coded error output for retry failures |
||
|---|---|---|
| .. | ||
| context.go | ||