Skip to content

Commit 28658f7

Browse files
committed
Rename function in openai.py
The function 'make_data_tool' in openai.py has been renamed to 'litellm_text2sql_callback_tool'. This update better reflects the function's purpose and helps improve code readability.
1 parent da5549e commit 28658f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mindsdb_sdk/utils/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def make_mindsdb_tool(schema: dict) -> dict:
109109
}
110110

111111

112-
def make_data_tool(
112+
def litellm_text2sql_callback_tool(
113113
model: str,
114114
data_source: str,
115115
description: str,

0 commit comments

Comments
 (0)