Repository navigation
Get‑ShpModelName
Returns cached Copilot model ids for the -Model argument completer.
Get-ShpModelName [[-Endpoint] <String>] [-Refresh] [<CommonParameters>]
On first call (or with -Refresh) the list is fetched via Get-ShpModel and stored in the module-scoped $script:ModelNameCache. Subsequent calls return the cached values without a network round-trip. Used by the Invoke-Shp -Model tab-completer; can also be called directly to pre-warm or refresh the cache.
Get-ShpModelName
Returns the cached model ids, fetching them once on first use.
Get-ShpModelName -Refresh
Re-fetches the model list and refreshes the cache.
Endpoint passed to Get-ShpModel when the cache is (re)built. Default: Enterprise.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: Enterprise
Accept pipeline input: False
Accept wildcard characters: FalseForce a re-fetch even if the cache is already populated.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- Clear-ShpChat
- Clear-ShpContext
- Clear-ShpRedactionPolicy
- Clear-ShpToolPolicy
- Clear-ShpUsage
- Compress-ShpChat
- ConvertTo-ShpAnnotation
- ConvertTo-ShpOtelTrace
- ConvertTo-ShpTokenCount
- Get-ShpChat
- Get-ShpChatCheckpoint
- Get-ShpContext
- Get-ShpContextReport
- Get-ShpCosineSimilarity
- Get-ShpCostEstimate
- Get-ShpDefault
- Get-ShpMcpServer
- Get-ShpModel
- Get-ShpModelName
- Get-ShpRedactionPolicy
- Get-ShpTool
- Get-ShpToolPolicy
- Get-ShpUsage
- Initialize-Shp
- Invoke-Shp
- Invoke-ShpBatch
- Invoke-ShpEval
- Invoke-ShpSubagent
- Register-ShpMcpServer
- Register-ShpTool
- Request-ShpEmbedding
- Resolve-ShpError
- Restore-ShpChat
- Save-ShpChat
- Select-ShpModel
- Set-ShpContext
- Set-ShpRedactionPolicy
- Set-ShpToolPolicy
- Start-ShpChat
- Test-ShpCiReadiness
- Unregister-ShpMcpServer
- Unregister-ShpTool