From 068451a1da3658512f8944d57b4df0575941fa2b Mon Sep 17 00:00:00 2001 From: Ayush Kumar Dubey <78522666+kady-z@users.noreply.github.com> Date: Sat, 16 Aug 2025 10:18:59 +0530 Subject: [PATCH 1/2] Update readme.md docs: update cd command with platform-specific instructions --- 02-SetupDevEnvironment/readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/02-SetupDevEnvironment/readme.md b/02-SetupDevEnvironment/readme.md index 802dc6fc..6eec8b64 100644 --- a/02-SetupDevEnvironment/readme.md +++ b/02-SetupDevEnvironment/readme.md @@ -124,10 +124,14 @@ Once your Codespace is fully loaded and configured, let's run a sample app to ve 1. Open the terminal. You can open a terminal window by typing **Ctrl+\`** (backtick) on Windows or **Cmd+`** on macOS. 1. Switch to the proper directory by running the following command: - + If you're using Windows Command Prompt (CMD) or PowerShell: ```bash cd 02-SetupDevEnvironment\src\BasicChat-01MEAI ``` + or If you're using Linux, macOS, Git Bash, WSL, or the VS Code terminal + ```bash + cd 02-SetupDevEnvironment/src/BasicChat-01MEAI + ``` 1. Then run the application with the following command: From 14e66a0cc6f68b3b41a92063804d205d8e04600f Mon Sep 17 00:00:00 2001 From: Ayush Kumar Dubey <78522666+kady-z@users.noreply.github.com> Date: Mon, 18 Aug 2025 12:55:29 +0530 Subject: [PATCH 2/2] Update 01-lm-completions-functions.md ChatResponse has no property name Message instead it has Messages which is IList and to add it into conversation which is also List we need to use AddRange. --- 03-CoreGenerativeAITechniques/01-lm-completions-functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/03-CoreGenerativeAITechniques/01-lm-completions-functions.md b/03-CoreGenerativeAITechniques/01-lm-completions-functions.md index 91b0e09c..ba43abb9 100644 --- a/03-CoreGenerativeAITechniques/01-lm-completions-functions.md +++ b/03-CoreGenerativeAITechniques/01-lm-completions-functions.md @@ -114,9 +114,9 @@ while (true) // Process the message with the chat client (example) var response = await client.GetResponseAsync(conversation); - conversation.Add(response.Message); + conversation.AddRange(response.Messages); - Console.WriteLine(response.Message.Text); + Console.WriteLine(response.Text); } ```