PtcLlmHttp.Request (PtcLlmHttp v0.1.0)

Copy Markdown View Source

Validated provider-neutral request for bounded calls and text streams.

Requests may contain text messages, strict function tools, assistant tool-call replay, tool results, and one strict structured-output schema. Inspection is wholly redacted because prompts, schemas, and tool arguments may be private.

Summary

Functions

Validates a bounded request without model or transport options.

Types

t()

@opaque t()

Functions

new(options)

@spec new(keyword()) :: {:ok, t()} | {:error, PtcLlmHttp.Error.t()}

Validates a bounded request without model or transport options.