mirror of
https://github.com/open-webui/open-webui
synced 2025-03-08 21:42:51 +00:00
fix: fix typing error in args
This commit is contained in:
parent
fe44e4d344
commit
b430deab15
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user