langchain
e50625e7 - feat(fireworks,groq,openrouter): add standard model property (#35542)

Commit
62 days ago
feat(fireworks,groq,openrouter): add standard model property (#35542) Add a `model` property to `ChatFireworks`, `ChatGroq`, and `ChatOpenRouter` that returns `model_name`. These partners use Pydantic's `Field(alias="model")` on `model_name`, which means `instance.model` doesn't work as a read accessor after construction — it raises an `AttributeError` or returns the field descriptor. `ChatOpenAI` already has this property; this brings the remaining in-repo partners to parity.
Author
Parents
Loading