We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a515420 commit 5a9bd72Copy full SHA for 5a9bd72
src/stagehand/resources/sessions_helpers.py
@@ -73,7 +73,7 @@ def validate_extract_response(
73
return result
74
75
76
-@lru_cache(maxsize=None)
+@lru_cache(maxsize=256)
77
def _validation_schema(schema: Type[BaseModel], strict_response_validation: bool) -> Type[BaseModel]:
78
extra_behavior: Literal["allow", "forbid"] = "forbid" if strict_response_validation else "allow"
79
validation_schema = cast(
0 commit comments