fix(codex): honor usage_limit_reached resets_at for retry_after
This commit is contained in:
1 parent
4445a165e9
commit
f5d46b9ca2
3 files changed
+94
-3
No files matched your search
@@ -406,6 +406,9 @@ func (h *Handler) buildAuthFileEntry(auth *coreauth.Auth) gin.H {
|
||||
if !auth.LastRefreshedAt.IsZero() {
|
||||
entry["last_refresh"] = auth.LastRefreshedAt
|
||||
}
|
||||
if !auth.NextRetryAfter.IsZero() {
|
||||
entry["next_retry_after"] = auth.NextRetryAfter
|
||||
}
|
||||
if path != "" {
|
||||
entry["path"] = path
|
||||
entry["source"] = "file"
|
||||
|
||||
Reference in new issue
Block a user