mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
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:
parent
c5c2b927f0
commit
55663e1f0a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue