mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-23 11:30:37 +00:00
core[patch]: Add kwargs to Runnable (#27008)
Fixes #26685 --------- Co-authored-by: Tibor Reiss <tibor.reiss@gmail.com>
This commit is contained in:
@@ -174,7 +174,7 @@ class BasePromptTemplate(
|
||||
return await self.aformat_prompt(**_inner_input)
|
||||
|
||||
def invoke(
|
||||
self, input: dict, config: Optional[RunnableConfig] = None
|
||||
self, input: dict, config: Optional[RunnableConfig] = None, **kwargs: Any
|
||||
) -> PromptValue:
|
||||
"""Invoke the prompt.
|
||||
|
||||
|
Reference in New Issue
Block a user