parse

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package parse exposes wire-protocol decoders for applications that need canonical chat requests without hosting the full llmux HTTP server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

Request is the protocol-neutral request produced by a wire decoder.

func Responses

func Responses(raw jsontext.Value) (Request, error)

Responses decodes an OpenAI Responses API request body into a Request. Callers that accept non-x application fields should remove those keys before calling Responses; x- and namespaced keys are already allowed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL