refac
This commit is contained in:
1 parent
440b64088b
commit
d933991904
1 file changed
+1
-1
@@ -439,7 +439,7 @@ def get_builtin_tools(
|
|||||||
builtin_functions.extend([search_chats, view_chat])
|
builtin_functions.extend([search_chats, view_chat])
|
||||||
|
|
||||||
# Add memory tools if builtin category enabled AND enabled for this chat
|
# Add memory tools if builtin category enabled AND enabled for this chat
|
||||||
if is_builtin_tool_enabled('memory') and features.get('memory'):
|
if is_builtin_tool_enabled('memory') and (features.get('memory') or get_model_capability('memory', False)):
|
||||||
builtin_functions.extend(
|
builtin_functions.extend(
|
||||||
[
|
[
|
||||||
search_memories,
|
search_memories,
|
||||||
|
|||||||
Reference in new issue
Block a user