feat: skills backend
This commit is contained in:
@@ -77,6 +77,7 @@ from open_webui.tools.builtin import (
|
||||
search_knowledge_files,
|
||||
query_knowledge_files,
|
||||
view_knowledge_file,
|
||||
view_skill,
|
||||
)
|
||||
|
||||
import copy
|
||||
@@ -506,6 +507,10 @@ def get_builtin_tools(
|
||||
]
|
||||
)
|
||||
|
||||
# Skills tools - view_skill allows model to load full skill instructions on demand
|
||||
if is_builtin_tool_enabled("skills"):
|
||||
builtin_functions.append(view_skill)
|
||||
|
||||
for func in builtin_functions:
|
||||
callable = get_async_tool_function_and_apply_extra_params(
|
||||
func,
|
||||
|
||||
Reference in New Issue
Block a user