Help us shape the future of Go! Take the 2026 Go Developer Survey

responses

package
v6.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertCodexResponseToOpenAIResponses

func ConvertCodexResponseToOpenAIResponses(_ context.Context, _ string, _, _, rawJSON []byte, _ *any) [][]byte

func ConvertCodexResponseToOpenAIResponsesNonStream

func ConvertCodexResponseToOpenAIResponsesNonStream(_ context.Context, _ string, _, _, rawJSON []byte, _ *any) []byte

ConvertCodexResponseToOpenAIResponsesNonStream builds a single Responses JSON from a non-streaming OpenAI Chat Completions response.

func ConvertOpenAIResponsesRequestToCodex

func ConvertOpenAIResponsesRequestToCodex(modelName string, inputRawJSON []byte, _ bool) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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