Skip to content

LDEV-5110 document cancelling an AI inquiry by returning false from the listener - #1641

Merged
michaeloffner merged 1 commit into
lucee:masterfrom
GianTschingt:LDEV-5110-listener-cancel
Oct 31, 2026
Merged

michaeloffner merged 1 commit into
lucee:masterfrom
GianTschingt:LDEV-5110-listener-cancel

Conversation

@GianTschingt

Copy link
Copy Markdown
Contributor

https://luceeserver.atlassian.net/browse/LDEV-5110

Documents that the listener passed to inquiryAISession() can cancel the inquiry by returning boolean false (since 9.0): the function returns what was received so far, other return values keep streaming. Updates the listener argument, adds usage notes and examples (closure, component method via new, static function via import and ::), and the AI recipe.

Code PR: lucee/Lucee#3550

@michaeloffner
michaeloffner merged commit 73948ae into lucee:master Oct 31, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants