Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Features ¶
type Features struct {
Inferences []api.InferenceProvider `json:"inferences"` // List of available inference providers
InferencesNotAvailable []api.InferenceProvider `json:"inferencesNotAvailable"` // List of not available inference providers
// TODO: should this be exposed in the outputs?
InferencesDisabledByPolicy []api.InferenceProvider `json:"-"` // List of inference providers disabled
Inference *api.InferenceProvider `json:"inference"` // The selected inference provider based on user preferences or auto-detection, or nil if no inference provider is selected
Tools []api.ToolsProvider `json:"tools"` // List of available tools
ToolsNotAvailable []api.ToolsProvider `json:"toolsNotAvailable"` // List of not available tools
// TODO: should this be exposed in the outputs?
ToolsDisabledByPolicy []api.ToolsProvider `json:"-"` // List of tools providers disabled
}
func (*Features) ToHumanReadable ¶
ToHumanReadable converts the features to a human-readable string representation.
Click to show internal directories.
Click to hide internal directories.