Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchModels ¶
FetchModels connects to Copilot CLI via CLIUrl and returns available models (legacy).
func FetchModelsWithAuth ¶
func FetchModelsWithAuth(authMethod string, copilotURL string, githubToken string) ([]huh.Option[string], bool, string)
FetchModelsWithAuth creates a temporary client using the selected auth method to get models. For Auto/CLIUrl modes, auto-starts a headless CLI server if needed. Returns the model list, whether it succeeded, and the resolved copilot URL.
Types ¶
type RunConfig ¶
type RunConfig struct {
URLs []string
StorageMode string // "local" or "github"
GitHubRepo string
GitHubToken string
CreateRepo bool // true if user chose to create a new repo
OutputDir string
Model string
ExtractModel string
CurateModel string
BuildModel string
Confirmed bool
// Auth
AuthMethod string // config.Auth* constant
CopilotURL string // for AuthCLIUrl
GitHubCopilotToken string // for AuthGitHubToken
BYOKProvider *copilot.ProviderConfig // for AuthBYOK
// Skill mode
SkillMode string // "new" or "evolve"
EvolveSkill string // name of skill to evolve
}
RunConfig holds the collected configuration from the interactive wizard.
Click to show internal directories.
Click to hide internal directories.