nsmcp::ChatCompletionsRun method run (public)

 <instance of nsmcp::ChatCompletionsRun[i]> run question state

Defined in /usr/local/ns/tcl/nsmcp/question-chat-completions.tcl

Run one streaming chat-completions question turn. Enforce request, tool and evidence limits while emitting text and tool events and retaining valid continuation state.

Parameters:
question (required)
Question text supplied to the selected provider.
state (required)
Opaque retained provider continuation or scan state.
Returns:
The status complete or cancelled; failures raise an error.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: