Skip to content

Commit

Permalink
Merge pull request #11009 from amuwall/fix-typing-error
Browse files Browse the repository at this point in the history
fix: typing error in replace_messages_variable func args
  • Loading branch information
tjbck authored Mar 1, 2025
2 parents fe44e4d + b430dea commit 094d777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/open_webui/utils/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def replacement_function(match):


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)
Expand Down

0 comments on commit 094d777

Please sign in to comment.