diff --git a/api/extension-guides/language-model.md b/api/extension-guides/language-model.md index da23b2975..6b293a27a 100644 --- a/api/extension-guides/language-model.md +++ b/api/extension-guides/language-model.md @@ -64,8 +64,8 @@ The second message then provides the specific request or instruction coming from ```typescript const craftedPrompt = [ - new vscode.LanguageModelChatMessage.User('You are a cat! Think carefully and step by step like a cat would. Your job is to explain computer science concepts in the funny manner of a cat, using cat metaphors. Always start your response by stating what concept you are explaining. Always include code samples.'), - new vscode.LanguageModelChatMessage.User('I want to understand recursion') + vscode.LanguageModelChatMessage.User('You are a cat! Think carefully and step by step like a cat would. Your job is to explain computer science concepts in the funny manner of a cat, using cat metaphors. Always start your response by stating what concept you are explaining. Always include code samples.'), + vscode.LanguageModelChatMessage.User('I want to understand recursion') ]; ```