models

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIError added in v1.5.0

type AIError struct {
	Error Error `json:"error"`
}

AIError represents an error response from OpenAI.

type Error added in v1.5.0

type Error struct {
	Message string `json:"message"`
	Code    string `json:"code"`
}

type StreamResponse added in v1.3.4

type StreamResponse struct {
	Content string // Holds content chunks
	Err     error  // Holds error details
	Done    bool   // Signals end of stream
}

Jump to

Keyboard shortcuts

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