- 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 |
||
|---|---|---|
| .. | ||
| api.go | ||
| assistant.go | ||
| attachment.go | ||
| attachment_test.go | ||
| cache.go | ||
| cache_test.go | ||
| call.go | ||
| hooks.go | ||
| load.go | ||
| load_test.go | ||
| object.go | ||
| plan.go | ||
| tool.go | ||
| types.go | ||
| utils.go | ||