MCPcopy
hub / github.com/codeaashu/claude-code / createModelSwitchBreadcrumbs

Function createModelSwitchBreadcrumbs

src/utils/messages.ts:590–601  ·  view source on GitHub ↗
(
  modelArg: string,
  resolvedDisplay: string,
)

Source from the content-addressed store, hash-verified

588 * /model command produces via processSlashCommand.
589 */
590export 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
603export function createProgressMessage<P extends Progress>({
604 toolUseID,

Callers 1

Calls 3

createUserMessageFunction · 0.85
formatCommandInputTagsFunction · 0.85

Tested by

no test coverage detected