docs(langchain): nit (#34788)

This commit is contained in:
Mason Daugherty
2026-01-17 01:07:33 -05:00
committed by GitHub
parent 89e1594196
commit 0d3c4e9817

View File

@@ -269,7 +269,7 @@ class ProviderStrategy(Generic[SchemaT]):
*,
strict: bool | None = None,
) -> None:
"""Initialize ProviderStrategy with schema.
"""Initialize `ProviderStrategy` with schema.
Args:
schema: Schema to enforce via the provider's native structured output.
@@ -448,8 +448,9 @@ class AutoStrategy(Generic[SchemaT]):
self,
schema: type[SchemaT] | dict[str, Any],
) -> None:
"""Initialize AutoStrategy with schema."""
"""Initialize `AutoStrategy` with schema."""
self.schema = schema
ResponseFormat = ToolStrategy[SchemaT] | ProviderStrategy[SchemaT] | AutoStrategy[SchemaT]
"""Union type for all supported response format strategies."""