mirror of
https://github.com/open-webui/pipelines
synced 2025-05-10 15:40:55 +00:00
Fix errors in function calling blueprint, reload function, and URL conversion
Add a return statement to the `call_function` method in `blueprints/function_calling_blueprint.py`. * Add a return statement after adding the function result to the system prompt in the `call_function` method. * Ensure the `call_function` method returns the updated messages.
This commit is contained in:
parent
1367d95750
commit
1e79a038fe
@ -137,6 +137,8 @@ And answer according to the language of the user's question.""",
|
||||
# Return the updated messages
|
||||
return messages
|
||||
|
||||
return messages
|
||||
|
||||
def run_completion(self, system_prompt: str, content: str) -> dict:
|
||||
r = None
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user