Merge pull request #11009 from amuwall/fix-typing-error

fix: typing error in replace_messages_variable func args
This commit is contained in:
Timothy Jaeryang Baek
2025-02-28 18:34:24 -08:00
committed by GitHub

View File

@@ -104,7 +104,7 @@ def replace_prompt_variable(template: str, prompt: str) -> str:
def replace_messages_variable(
template: str, messages: Optional[list[str]] = None
template: str, messages: Optional[list[dict]] = None
) -> str:
def replacement_function(match):
full_match = match.group(0)