fix: Add notifyerrors field to RotationConfig model

- Add notifyerrors field with default value False
- Fixes issue where notifyerrors was always detected as False
- Allows rotation to return error as normal message instead of HTTP 503
parent e8bd3dea
......@@ -55,6 +55,7 @@ class ProviderConfig(BaseModel):
class RotationConfig(BaseModel):
providers: List[Dict]
notifyerrors: bool = False
class AutoselectModelInfo(BaseModel):
model_id: str
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment