MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / requiresInitialAgentAccountModels

Function requiresInitialAgentAccountModels

agent/app/service/agents_utils.go:1392–1399  ·  view source on GitHub ↗
(provider string)

Source from the content-addressed store, hash-verified

1390}
1391
1392func requiresInitialAgentAccountModels(provider string) bool {
1393 switch provider {
1394 case "custom", "vllm", "ollama":
1395 return true
1396 default:
1397 return false
1398 }
1399}
1400
1401func normalizeComparableProviderModelID(provider, modelID string) string {
1402 target := strings.TrimSpace(modelID)

Callers 2

resolveAgentAccountInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected