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 neither retained nor modified. No HTTP, JSON conversion or duplicate dictionary representation is involved.
| Parameter | Description |
|---|---|
request | Ordered messages ending in a user message, without tools, images or attachment references. 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")]))