Skip to content

Commit

Permalink
Update integrations/openai/src/databricks_openai/vector_search_retrie…
Browse files Browse the repository at this point in the history
…ver_tool.py

Co-authored-by: Siddharth Murching <[email protected]>
  • Loading branch information
leonbi-db and smurching authored Jan 16, 2025
1 parent 8468356 commit 921dc49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def get_tool_name():
tool_name = self.tool_name or self.index_name.replace(".", "__")
if len(tool_name) > 64:
_logger.warning(
f"Function name {tool_name} is too long, truncating to 64 characters {tool_name[-64:]}."
f"Tool name {tool_name} is too long, truncating to 64 characters {tool_name[-64:]}."
)
return tool_name[-64:]
return tool_name
Expand Down

0 comments on commit 921dc49

Please sign in to comment.