ColtenOuO opened a new pull request, #73283:
URL: https://github.com/apache/airflow/pull/73283

   ### Sumarry
   
   `usage_limits` is accepted by every `LLMOperator` subclass 
(`LLMBranchOperator`, `LLMSQLQueryOperator`, `LLMSchemaCompareOperator`, 
`LLMFileAnalysisOperator`), and each of them coerces it and passes it to 
`agent.run_sync`, but it was only documented on the `LLMOperator` and 
`AgentOperator` pages. The parameter lists on the sibling operator pages 
already cover `agent_params` and the inherited HITL parameters, so a reader of 
those pages had no way to find out that a per-run token, request, tool-call, or 
cost budget can be set there too.
   
   This PR adds `usage_limits` to the parameter lists of the 
`LLMBranchOperator`, `LLMSchemaCompareOperator`, and `LLMFileAnalysisOperator` 
pages, adds a short "Usage Limits" section to the `LLMSQLQueryOperator` page 
(which has no parameter list), and mentions the inherited parameter in the four 
operators' docstrings next to the existing "inherited from LLMOperator" note. 
All of them link to the existing "Usage Limits" section of the `LLMOperator` 
page through a new `howto/operator:llm_usage_limits` label rather than 
repeating its caveats. 
   
   No behavior change.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5)


-- 
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