Repository navigation
Start‑ShpChat
Starts an interactive Copilot chat session in the console.
Start-ShpChat [[-Model] <String>] [-DisableStreaming] [[-Prompt] <String>]
[<CommonParameters>]
Opens a read-eval-print loop that reads a line from the console, sends it to the model with Invoke-Shp, and shows the reply, keeping the conversation going across turns. It builds on two capabilities already in place: streaming output (on by default) and the running session chat that Invoke-Shp maintains, so each turn remembers the earlier ones.
A line beginning with a slash is a loop command: /exit or /quit leaves the session, /clear forgets the running conversation (Clear-ShpChat), /model switches the model for later turns, /models lists the model ids you can reach, /history shows the running conversation, /retry drops the last exchange and resends the previous prompt, /usage shows the session token and cost summary, and /help lists the commands. Every other line is sent to the model. The session honours the session default model (Select-ShpModel) unless -Model is given.
Start-ShpChat
Starts an interactive chat using the default model; type /exit to leave.
Start-ShpChat -Model claude-haiku-4.5 -DisableStreaming
Starts a session on a specific model without live streaming.
Turn off live token streaming for the session and print each full reply instead.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseModel id to use for the session. Defaults to the session default model, then the built-in fallback. Can be changed mid-session with /model.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies a name to display at the input prompt. Defaults to 'shp>'.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: Shp>
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