You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add API-level validation for generation parameters and guard retriever initialization
Invalid generation parameters such as negative top_k were previously
forwarded to the model layer, which could result in runtime errors.
This change adds ge/le constraints to generation parameters in
PromptedLLMRequest so that invalid inputs are rejected with a 422
validation error at the API layer.
Additionally, retriever initialization is now guarded to prevent
startup errors when DOC_PATHS is empty.
0 commit comments