MCPcopy Create free account
hub / github.com/Noumena-Network/code / createModelSwitchBreadcrumbs

Function createModelSwitchBreadcrumbs

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 3

formatCommandInputTagsFunction · 0.85
createUserMessageFunction · 0.70

Tested by

no test coverage detected