mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-07 22:11:51 +00:00
langchain[minor]: Generic configurable model (#23419)
alternative to [23244](https://github.com/langchain-ai/langchain/pull/23244). allows you to use chat model declarative methods 
This commit is contained in:
@@ -1327,7 +1327,7 @@ class Runnable(Generic[Input, Output], ABC):
|
||||
def with_config(
|
||||
self,
|
||||
config: Optional[RunnableConfig] = None,
|
||||
# Sadly Unpack is not well supported by mypy so this will have to be untyped
|
||||
# Sadly Unpack is not well-supported by mypy so this will have to be untyped
|
||||
**kwargs: Any,
|
||||
) -> Runnable[Input, Output]:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user