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 fine-tuning selection fails after GitHub auth flow #39

Open
robotdad opened this issue Jan 8, 2024 · 1 comment
Open

Model fine-tuning selection fails after GitHub auth flow #39

robotdad opened this issue Jan 8, 2024 · 1 comment

Comments

@robotdad
Copy link
Member

robotdad commented Jan 8, 2024

This may be related to my GH account being tied to an organizational account. When I select model fine tuning I am prompted to authenticate with GH. Going through that flow I'm prompted which organizational accounts I want to allow access to. I do not select any. As a Microsoft employee one of the organizations offered is Microsoft, so I suspect this is the root of my problem. Generally, I don't allow access to organizations unless I know what the request is trying to consume and here I don't.

Happy to chat over Teams as well and try some things.

This is the output trace for receiving the error.

[2024-01-08T20:38:05.044Z] [INFO] telemetry event:load_catalog sent
Debug: load-catalog[0]
12:38:37.97 0 ExecuteAsync Started
Error: load-catalog[0]
12:38:38.32 0 ExecuteAsync Failed message:Error loading JSON from GitHub: GitHub API request failed with status code Forbidden stack: at WorkspaceAutomation.Catalog.GitHubDownloaderExtensions.d__11.MoveNext() + 0x77d --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.WorkspaceWorkflowWizard.<LoadModelCatalogAsync>d__7.MoveNext() + 0x151 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.CLI.AILoadModelsCommand.<ExecuteInternalAsync>d__1.MoveNext() + 0xb8 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.CLI.CliAsyncCommand1.d__2.MoveNext() + 0x39e
[2024-01-08T20:38:40.623Z] [INFO] telemetry event:invoke_command_error sent
[2024-01-08T20:38:47.386Z] [INFO] Navigation to comingSoon was successful: true
[2024-01-08T20:38:47.388Z] [INFO] Loading View: comingSoon

@AdamBraden
Copy link

I ran into this and was able to work around it by generating a PAT in github - Personal Access Tokens (Classic) (github.com) with repo and user scopes, and then using the command palette in VSCode adding my PAT to it (Windows AI Studio Tools: Set a GitHub personal access token).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants