Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model can sometimes get stuck in a loop when generating a project, which exhausts the context window #223

Closed
adrastogi opened this issue Jun 18, 2024 · 0 comments · Fixed by #234
Assignees
Labels
Area-Quickstart Issue-Bug Something isn't working or needs investigation Priority-1 Resolution-Fix-Available Available in a release
Milestone

Comments

@adrastogi
Copy link
Contributor

adrastogi commented Jun 18, 2024

Dev Home version

0.1501.529.0

Windows build number

10.0.26240.5000

Other software

OS Build Version: 10.0.26240.5000.amd64fre.ge_current_directadept.240613-1700
.NET Version: .NET 8.0.5

Steps to reproduce the bug

The repro for this is inconsistent- but something like the below seems to trigger it:

  1. In Quickstart Playground, instruct the model to generate a dotnet project for Aspire

Expected result

The model generates the project without issue

Actual result

The project fails to generate (progress will hang on phase where the devcontainer files are being produced). The problem is with the devcontainer file itself where the model will get "stuck in a loop" and continuously generate repeated apt commands for installing parts of dotnet. This exhausts the context window and eventually surfaces an error back to the user. This might be something that requires mitigation via more grounding data for that particular project type.

Included System Information

CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 63.86GB (42.06GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHomeGitHubExtension.Canary_0.1500.528.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Canary))
Microsoft.Windows.DevHome.Canary_0.1501.529.0_x64__8wekyb3d8bbwe (Core Widget Extension)
Microsoft.Windows.DevHome.Canary_0.1501.529.0_x64__8wekyb3d8bbwe (Hyper-V Extension)
Microsoft.Windows.DevHomeAzureExtension.Canary_0.1000.528.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Canary))
9932MartCliment.WingetUIWidgets_0.6.1.0_x64__g91dtg5srk15g (Widgets for UniGetUI (formerly WingetUI))

Widget Service:
MicrosoftWindows.Client.WebExperience_524.16300.0.0_x64__cw5n1h2txyewy

@adrastogi adrastogi added the Issue-Bug Something isn't working or needs investigation label Jun 18, 2024
@adrastogi adrastogi self-assigned this Jun 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label Jun 18, 2024
@adrastogi adrastogi transferred this issue from microsoft/devhome Jun 18, 2024
@adrastogi adrastogi added Area-Quickstart Issue-Bug Something isn't working or needs investigation Priority-2 Priority-1 and removed Issue-Bug Something isn't working or needs investigation Needs-Triage New issue that the core contributors need to triage Priority-2 labels Jun 18, 2024
@adrastogi adrastogi modified the milestones: DHAE v0.10, DHAE v0.12 Jul 1, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the In-PR This issue has a related PR label Aug 5, 2024
@krschau krschau added Resolution-Fix-Available Available in a release and removed In-PR This issue has a related PR labels Aug 5, 2024
@krschau krschau modified the milestones: DHAE v0.12, DHAE v0.11 Aug 5, 2024
@krschau krschau closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Quickstart Issue-Bug Something isn't working or needs investigation Priority-1 Resolution-Fix-Available Available in a release
Projects
None yet
2 participants