Documentation
¶
Index ¶
- func BufferChatCompletionFromCodexSSE(body io.Reader, model string) ([]byte, error)
- func BuildCodexInput(chat map[string]any) []any
- func ChatCompletionToCodexBody(chat map[string]any) ([]byte, error)
- func ChatGPTSubUpstreamError(statusCode int, body []byte, model string) error
- func DrainUpstreamError(resp *http.Response) ([]byte, error)
- func RewriteCodexSSEStream(r io.Reader, w io.Writer, model string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCodexInput ¶
func ChatGPTSubUpstreamError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.