MicrosoftLearning / MicrosoftLearning/mslearn-genaiops

mslearn-genaiops Lab 01 Plan and prepare a GenAIOps solution UTF-8 encoding needed for .env file

Open
#40 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Bicep
Stars
12
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Lab name

All labs

What happened?

What step on the page were you trying to complete?
Exercise: Create your first agent
Task: 02
Step: Run the agent creation script:
python trail_guide_agent.py

What is the error you have?
Description of issue, possible causes, and attempted workarounds:

This is the first time we run the code, and the .env file has UTF-16 encoding, if we do not switch it to UTF-8 encoding, the attached error happens.

Relevant screenshots

paste here 😉

Image
Do you want to help us fix the issue even faster? 👏

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Lab 01 Exercise “Create your first agent,” Task 02, and inspect the .env file used by trail_guide_agent.py. Run python trail_guide_agent.py with the reported encoding and confirm that the lab works without requiring a manual encoding change; document or correct the affected lab asset as appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.