Documentation
¶
Overview ¶
Package copilotmodels lists the models a person's Copilot plan offers for `agentry setup` and the desktop's model setup, so there is one implementation per machine: the Copilot sign-in kept on this computer, the images a Copilot run needs made present as setup makes them, then Copilot CLI's own list in a run's container (engine.ListCopilotModels). Nothing of Agentry's calls the Copilot API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Request ¶
type Request struct {
// Home is the runner home, whose model sign-in store keeps the Copilot
// sign-in; Keys its keychain (the sign-in's refresh token).
Home string
Keys connection.Keychain
// Policy supplies the images, docker.limits and docker.runtime; its
// model block is not read.
Policy *policy.Policy
// CopilotPlan is the person's Copilot plan (policy.CopilotPlans).
CopilotPlan string
// RunnerImage is the runner image's tag and ImageCtxDir where its
// context is unpacked to build it, as setup builds it.
RunnerImage, ImageCtxDir string
// Log receives the image builds' lines and Copilot CLI's stderr; nil
// discards them.
Log io.Writer
}
Request is one list's.
Click to show internal directories.
Click to hide internal directories.