( modelArg: string, resolvedDisplay: string, )
| 588 | * /model command produces via processSlashCommand. |
| 589 | */ |
| 590 | export function createModelSwitchBreadcrumbs( |
| 591 | modelArg: string, |
| 592 | resolvedDisplay: string, |
| 593 | ): UserMessage[] { |
| 594 | return [ |
| 595 | createSyntheticUserCaveatMessage(), |
| 596 | createUserMessage({ content: formatCommandInputTags('model', modelArg) }), |
| 597 | createUserMessage({ |
| 598 | content: `<${LOCAL_COMMAND_STDOUT_TAG}>Set model to ${resolvedDisplay}</${LOCAL_COMMAND_STDOUT_TAG}>`, |
| 599 | }), |
| 600 | ] |
| 601 | } |
| 602 | |
| 603 | export function createProgressMessage<P extends Progress>({ |
| 604 | toolUseID, |
no test coverage detected