Documentation
¶
Overview ¶
Package copilotdefaults builds OpenAI-compatible model defaults from the Copilot model catalog.
Index ¶
- func BuildPlatformDefaults(entries []auth.CopilotModelCatalogEntry) (*llmtypes.CustomModels, llmtypes.CustomPricing)
- func CanonicalModelName(entry auth.CopilotModelCatalogEntry) string
- func ContextWindow(entry auth.CopilotModelCatalogEntry) int
- func LoadPlatformDefaults(ctx context.Context) (*llmtypes.CustomModels, llmtypes.CustomPricing, error)
- func SupportsReasoning(entry auth.CopilotModelCatalogEntry) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPlatformDefaults ¶
func BuildPlatformDefaults(entries []auth.CopilotModelCatalogEntry) (*llmtypes.CustomModels, llmtypes.CustomPricing)
func CanonicalModelName ¶
func CanonicalModelName(entry auth.CopilotModelCatalogEntry) string
func ContextWindow ¶
func ContextWindow(entry auth.CopilotModelCatalogEntry) int
func LoadPlatformDefaults ¶
func LoadPlatformDefaults(ctx context.Context) (*llmtypes.CustomModels, llmtypes.CustomPricing, error)
func SupportsReasoning ¶
func SupportsReasoning(entry auth.CopilotModelCatalogEntry) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.