Repository navigation
docs: use named arguments in the agent-docs examples and fix the 4.1 job examples - #4460
Merged
Merged
Conversation
…job examples Signed-off-by: Peter Amiri <peter@alurium.com>
Collaborator
Author
|
Review: head 84db2ba. APPROVE (docs).
The final follows PR CI. |
Collaborator
Author
|
FINAL: APPROVE. Head 84db2ba.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs-only. Two corrections to shown-to-users examples:
.aiagent-docs (and their byte-identicaldocs/consumer-ai/.ai/mirrors) now use named arguments —afterCommit(methods="…", on="…")and.resources(name="products", except="delete")— matching the framework's "don't mix positional and named arguments" rule.queueStats()on a variable receiver (worker = new wheels.Job(); worker.queueStats()) instead of(new wheels.Job()).queueStats(), which doesn't compile on Adobe CF.No runtime/framework code changes. The two
.aimirror copies stay byte-identical (consumer-docs check passes).