nsmcp::ChatCompletionsRun method pollJob (public)
<instance of nsmcp::ChatCompletionsRun> pollJob handle
Defined in /usr/local/ns/tcl/nsmcp/question-chat-completions.tcl
Poll a background tool job using this question's pinned inventory. Check cancellation and the deadline before invoking the permitted result tool.
- Parameters:
- handle (required)
- Retained job or conversation handle; ownership and expiry checks still apply.
- Returns:
- Serialized JSON for the background job's current result.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)