public override complete(request as LLMRequest) as LLMResponse throws Exception
Completes a typed text conversation using resident model weights. History is borrowed for this request and is not modified. Only an explicitly enabled system/schema prefix may be retained; user turns are not. Message history is rendered directly; tool schemas are validated as JSON data.
| Parameter | Description |
|---|---|
request | Ordered textual messages ending in a user query or complete typed tool round, with an optional ToolRegistry. Images/attachments remain unsupported. Uses this provider's maxNewTokens bound. |
Assistant message and exact prompt/completion token counts. The completion count includes EOS when generated; response text excludes it.
response = provider.complete(LLMRequest([LLMThreadMessage.user("Hello")]))