chore(guardrails): add reason to Singulr tools pyright ignore

Satisfies the LIT004 type-discipline budget gate, which requires every
pyright ignore comment to carry a reason.
This commit is contained in:
aniket-kardile 2026-08-26 14:22:01 +05:30
parent c5c2b927f0
commit 55663e1f0a
No known key found for this signature in database

View file

@ -35,7 +35,7 @@ class SingulrGuardrailPayload(BaseModel):
guardrail_scope: str | None = None
messages: Sequence[Any] | None = None
images: Sequence[str] | None = None
tools: Sequence[Any] | None = None # pyright: ignore[reportExplicitAny]
tools: Sequence[Any] | None = None # pyright: ignore[reportExplicitAny] # forwards caller-supplied OpenAI tool defs verbatim
response: Any = None # pyright: ignore[reportExplicitAny] # logging_only reports raw litellm callback results (ModelResponse, EmbeddingResponse, etc.)
metadata: Mapping[str, Any] | None = None