Skip to content

Conversation

sydney-runkle
Copy link
Collaborator

@sydney-runkle sydney-runkle commented Oct 16, 2025

we can do more complex things w/ model_name in to_model_kwargs long term if we support more providers that don't require strict=True

@github-actions github-actions bot added langchain Related to the package `langchain` v1 Issue specific to LangChain 1.0 labels Oct 16, 2025
@sydney-runkle sydney-runkle changed the title bind strict=True only for OpenAI fix(langchain): bind strict=True only for OpenAI Oct 16, 2025
@github-actions github-actions bot added the fix label Oct 16, 2025
@sydney-runkle sydney-runkle changed the title fix(langchain): bind strict=True only for OpenAI fix(langchain): bind strict=True only for openai + grok Oct 16, 2025
@github-actions github-actions bot added fix and removed fix labels Oct 16, 2025
SchemaKind = Literal["pydantic", "dataclass", "typeddict", "json_schema"]


def _supports_provider_strategy(model_name: str) -> bool:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fickle. should we make it public?

@github-actions github-actions bot added fix and removed fix labels Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix langchain Related to the package `langchain` v1 Issue specific to LangChain 1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant