fix(types): annotate ANTHROPIC_ADVISOR_TOOL_TYPE as Literal to satisfy mypy

This commit is contained in:
Ishaan Jaffer 2026-04-11 11:09:55 -07:00
parent 02b4934e87
commit f40995418b
No known key found for this signature in database

View file

@ -126,7 +126,7 @@ class AnthropicToolSearchToolBM25(TypedDict, total=False):
input_examples: Optional[List[Dict[str, Any]]]
ANTHROPIC_ADVISOR_TOOL_TYPE = "advisor_20260301"
ANTHROPIC_ADVISOR_TOOL_TYPE: Literal["advisor_20260301"] = "advisor_20260301"
class AnthropicAdvisorTool(TypedDict, total=False):