Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aisbf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
aisbf
Commits
ebddd59f
Commit
ebddd59f
authored
Feb 08, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change error HTTP status code from 503 to 429 when notifyerrors is false
parent
4e2f7315
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
handlers.py
aisbf/handlers.py
+2
-2
No files found.
aisbf/handlers.py
View file @
ebddd59f
...
...
@@ -962,7 +962,7 @@ class RotationHandler:
return
error_response
else
:
raise
HTTPException
(
status_code
=
503
,
status_code
=
429
,
detail
=
{
"message"
:
"No models available in rotation (all providers may be rate limited)"
,
"rotation_id"
:
rotation_id
,
...
...
@@ -1355,7 +1355,7 @@ class RotationHandler:
return
error_response
else
:
raise
HTTPException
(
status_code
=
503
,
status_code
=
429
,
detail
=
{
"message"
:
f
"All providers in rotation failed after {max_retries} attempts"
,
"rotation_id"
:
rotation_id
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment