Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ExtraFamily is the model family Copilot names, and ExtraVersion the version it serves. ExtraFamily = "family" ExtraVersion = "version" // ExtraPreview is true when Copilot marks the model as a preview. ExtraPreview = "preview" // ExtraPremium is true when the model spends the plan's premium requests, and ExtraMultiplier is the count of premium requests // that one request spends. ExtraPremium = "premium" ExtraMultiplier = "premium_multiplier" // ExtraFallback is true when Copilot uses the model as its fallback. ExtraFallback = "chat_fallback" // ExtraCategory is the model picker's category for the model. ExtraCategory = "picker_category" // ExtraPolicy is the account's policy state for the model, such as enabled, and ExtraTerms the terms it asks the account to accept. ExtraPolicy = "policy_state" ExtraTerms = "policy_terms" // ExtraTokenizer is the tokenizer Copilot names for the model, such as a tiktoken encoding. ExtraTokenizer = "tokenizer" // ExtraEndpoints is the list of API paths Copilot serves the model on. ExtraEndpoints = "endpoints" // ExtraStreaming and ExtraParallelTools are the model's stated streaming and parallel tool call support. ExtraStreaming = "streaming" ExtraParallelTools = "parallel_tool_calls" // ExtraImages is the image limit for one prompt, ExtraImageSize the image size limit in bytes, ExtraMediaTypes the image types. ExtraImages = "max_prompt_images" ExtraImageSize = "max_prompt_image_size" ExtraMediaTypes = "image_media_types" // ExtraNonStreamingOutput is the output cap for a request that does not stream. ExtraNonStreamingOutput = "max_non_streaming_output" // ExtraThinkingBudget and ExtraThinkingFloor are the upper and lower limits of the model's reasoning budget. ExtraThinkingBudget = "max_thinking_budget" ExtraThinkingFloor = "min_thinking_budget" )
Extra keys a listed row carries, for the kind's own hooks and the API note.
Variables ¶
This section is empty.
Functions ¶
func Row ¶
Row returns the facts that an item in a Copilot models reply states. ok is false when the item has no id.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.