Skip to content

Commit

Permalink
llm function is custom function
Browse files Browse the repository at this point in the history
  • Loading branch information
ea-rus committed Sep 18, 2024
1 parent bea9557 commit 6fa83da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mindsdb_sql/planner/query_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def get_query_info(self, query):

def find_objects(node, is_table, **kwargs):
if isinstance(node, Function):
if node.namespace is not None:
if node.namespace is not None or node.op.lower() in ('llm',):
user_functions.append(node)

if is_table:
Expand Down

0 comments on commit 6fa83da

Please sign in to comment.