This commit is contained in:
Timothy Jaeryang Baek
2024-12-11 18:36:59 -08:00
parent 9e85ed861d
commit 3bda1a8b88
9 changed files with 335 additions and 347 deletions

View File

@@ -7,7 +7,7 @@ from functools import update_wrapper, partial
from langchain_core.utils.function_calling import convert_to_openai_function
from open_webui.models.tools import Tools
from open_webui.models.users import UserModel
from backend.open_webui.utils.plugin import load_tools_module_by_id
from open_webui.utils.plugin import load_tools_module_by_id
from pydantic import BaseModel, Field, create_model
log = logging.getLogger(__name__)