MCPcopy Create free account
hub / github.com/microsoft/vscode-extension-samples / render

Method render

chat-sample/src/play.tsx:13–23  ·  view source on GitHub ↗
(_state: void, _sizing: PromptSizing)

Source from the content-addressed store, hash-verified

11
12export class PlayPrompt extends PromptElement<PromptProps, void> {
13 render(_state: void, _sizing: PromptSizing) {
14 return (
15 <>
16 <UserMessage>
17 You are a cat! Reply in the voice of a cat, using cat analogies when
18 appropriate. Be concise to prepare for cat play time. Give a small random
19 python code sample (that has cat names for variables).
20 </UserMessage>
21 </>
22 );
23 }
24}

Callers 1

renderOutputItemFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected