Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter is the OpenAI-compatible Chat Completions protocol adapter.
func NewAdapter ¶
NewAdapter creates a Chat Completions adapter that uses httpClient for requests. A nil client uses http.DefaultClient.
type ResponsesAdapter ¶ added in v0.6.3
type ResponsesAdapter struct {
// contains filtered or unexported fields
}
ResponsesAdapter is the OpenAI Responses protocol adapter.
func NewResponsesAdapter ¶ added in v0.6.3
func NewResponsesAdapter(httpClient *http.Client) *ResponsesAdapter
NewResponsesAdapter creates a Responses adapter that uses httpClient for requests. A nil client uses http.DefaultClient.
func (*ResponsesAdapter) Protocol ¶ added in v0.6.3
func (a *ResponsesAdapter) Protocol() llm.Protocol
Protocol returns the registry key for the Responses protocol.
Click to show internal directories.
Click to hide internal directories.