vectara-agentic 0.2.11__py3-none-any.whl → 0.2.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of vectara-agentic might be problematic. Click here for more details.

@@ -118,7 +118,7 @@ class DatabaseTools:
118
118
  try:
119
119
  count_rows = self._load_data(count_query)
120
120
  except Exception as e:
121
- return [f"Error ({str(e)}) occurred while counting number of rows"]
121
+ return [f"Error ({str(e)}) occurred while counting number of rows, check your query."]
122
122
  num_rows = int(count_rows[0].text)
123
123
  if num_rows > self.max_rows:
124
124
  return [
@@ -128,7 +128,7 @@ class DatabaseTools:
128
128
  try:
129
129
  res = self._load_data(sql_query)
130
130
  except Exception as e:
131
- return [f"Error ({str(e)}) occurred while executing the query {sql_query}"]
131
+ return [f"Error ({str(e)}) occurred while executing the query {sql_query}, check your query."]
132
132
  return [d.text for d in res]
133
133
 
134
134
  def load_sample_data(self, table_name: str, num_rows: int = 25) -> Any: