MCPcopy Create free account
hub / github.com/cortexkit/magic-context / text

Method text

packages/cli/src/lib/prompts.ts:58–58  ·  view source on GitHub ↗
(
        message: string,
        options?: {
            placeholder?: string;
            initialValue?: string;
            validate?: (value: string) => string | undefined;
        },
    )

Source from the content-addressed store, hash-verified

56 spinner(): PromptSpinner;
57 confirm(message: string, defaultYes?: boolean): Promise<boolean>;
58 text(
59 message: string,
60 options?: {
61 placeholder?: string;

Callers 15

previewErrorBodyFunction · 0.65
embedBatchMethod · 0.65
handleFetchMethod · 0.65
callMethod · 0.65
startRpcServerFunction · 0.65
loadEmbeddingConfigFunction · 0.65
judgeAnswerFunction · 0.65
streamResponsesFunction · 0.65
chatCompletionFunction · 0.65
callCountTokensFunction · 0.65
chooseEmbeddingFunction · 0.65

Implementers 3

MockPromptspackages/cli/src/lib/dreamer-setup.tes
MockPromptspackages/cli/src/commands/doctor-pi.te
MockPromptspackages/cli/src/commands/setup-pi.tes

Calls

no outgoing calls

Tested by 1

startRpcServerFunction · 0.52