Azure-Samples / Azure-Samples/netaivideoanalyzer

Fail to run GitHub Models samples

Open
#10 2 comments 0 reactions 1 assignee Claimed by @elbruno View on GitHub
bug
Dominant language
C#
Stars
30
Forks
14
PR merge metrics
No merged PRs in 30d

Description

**Description**
When testing the [GitHub Models example](https://github.com/Azure-Samples/netaivideoanalyzer?tab=readme-ov-file#run-github-models-samples), after running `dotnet user-secrets set "GITHUB_TOKEN" "< your github personal access tokens>"`, running `dotnet run` fails with the following error:
![image](https://github.com/user-attachments/assets/e09fafb0-7e68-4e0e-b1ad-b4473adbb211)

> Notes:
Besides, the command `dotnet user-secrets set "GITHUB_TOKEN" "< your github personal access tokens>"` to set `GITHUB_TOKEN` is missing from readme.md, please add it.
![image](https://github.com/user-attachments/assets/9f5f6943-9df5-4216-b21a-b797196b8cd4)

**Repro steps**
1. Create a new Codespace.
2. Run `cd ./src/ConsoleMEAI-05-GitHubModels/`.
3. Run `dotnet user-secrets set "GITHUB_TOKEN" "< your github personal access tokens>"`.
4. Run `dotnet run`.

**Expected behavior**
GitHub Models samples can be run successfully.

@elbruno and @hemarina for notification.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.