Lee-W commented on code in PR #74695:
URL: https://github.com/apache/airflow/pull/74695#discussion_r4269120740


##########
providers/common/ai/docs/toolsets/sql.rst:
##########
@@ -329,6 +329,9 @@ Parameters
   See :ref:`bounded-query-results` and :ref:`bounded-schema-results`.
 - ``max_columns``: Maximum columns ``get_schema`` returns in full. Default 
``100``.
   Above it the result becomes a bounded summary. See 
:ref:`bounded-schema-results`.
+- ``tool_prefix``: Optional prefix joined to each tool name with an underscore 
(e.g. ``"pg"`` produces ``"pg_query"``).

Review Comment:
   Changed it to say the function sees the prefixed name and compares against 
`f"{prefix}_query"`, and warns against `endswith("query")` since it also 
matches `check_query`. The `tool_prefix` entry points back to it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to