You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ColtenOuO (via GitHub)" <gi...@apache.org> on 2026/09/17 11:57:40 UTC
[PR] Document usage_limits on all common.ai LLM operators [airflow]
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Document usage_limits on all common.ai LLM operators [airflow]
Posted by "shahar1 (via GitHub)" <gi...@apache.org>.
shahar1 merged PR #73283:
URL: https://github.com/apache/airflow/pull/73283
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org