Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { Key string `json:"key"` TestModel []string `json:"test_model"` URL string `json:"url"` Type ChannelType `json:"type"` }
type ChannelType ¶
type ChannelType int
const ( ChannelTypeGemini ChannelType = iota ChannelTypeOpenAI )
type ChatMessage ¶
type ChatMessage struct { Role string `json:"role"` Content json.RawMessage `json:"content"` }
type Message ¶
type Message struct { Type MessageType Content string Headers *RequestHeaders Error error Request string Response string }
type MessageType ¶
type MessageType int
const ( MessageTypeNode MessageType = iota MessageTypeError MessageTypeAPI MessageTypeRequest )
type RequestHeaders ¶
type TestResult ¶
Click to show internal directories.
Click to hide internal directories.