chat

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package chat classifies Chat Completions wire facts. It does not accumulate chunks, validate executable calls, synthesize Responses events, or own capture.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FinishReason

type FinishReason string
const (
	Stop          FinishReason = "stop"
	ToolCalls     FinishReason = "tool_calls"
	Length        FinishReason = "length"
	ContentFilter FinishReason = "content_filter"
)

func (FinishReason) IncompleteReason

func (r FinishReason) IncompleteReason() string

func (FinishReason) ResponseStatus

func (r FinishReason) ResponseStatus() string

ResponseStatus reports recognized completion evidence, not usable output. Unknown and absent reasons must not be treated as completion.

Jump to

Keyboard shortcuts

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