MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / View

Method View

internal/cli/provider_wizard.go:252–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250}
251
252func (m providerWizardModel) View() string {
253 switch m.phase {
254 case wizPhaseName:
255 return m.nameStep.view()
256 case wizPhaseEndpoint:
257 return m.endpointStep.view()
258 case wizPhaseAPIKeyEnv:
259 return m.apiKeyEnvStep.view()
260 case wizPhaseClients:
261 return m.clientsStep.view()
262 case wizPhaseModels:
263 return m.modelsStep.view()
264 case wizPhaseListModelsCmd:
265 return m.listModelsCmdStep.view()
266 case wizPhaseDescription:
267 return m.descriptionStep.view()
268 case wizPhaseUseProxy:
269 return m.useProxyStep.view()
270 case wizPhaseKeepProxy:
271 return m.keepProxyStep.view()
272 case wizPhaseEnabled:
273 return m.enabledStep.view()
274 }
275 return ""
276}
277
278func (m *providerWizardModel) advance() {
279 next := m.phase + 1

Callers

nothing calls this directly

Calls 1

viewMethod · 0.45

Tested by

no test coverage detected