Skip to content

Support Aspire GH Copilot integration #410

@gsm1be

Description

@gsm1be

Describe the need of your request

Aspire 9.3 introduced the integration of Github Copilot inot the dashboard.

Unfortunatly, this feature is still not working when starting the Apphost from JetBrains Rider, and failing with the following error:

fail: Aspire.Hosting.Dashboard.Model.Assistant.AssistantChatViewModel[0]
      Error getting GHCP info.
      System.InvalidOperationException: Error response from GHCP.
       ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
         at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
         at Aspire.Dashboard.Model.Assistant.ChatClientFactory.GetInfoAsync(CancellationToken cancellationToken) in /_/src/Aspire.Dashboard/Model/Assistant/ChatClientFactory.cs:line 141
         --- End of inner exception stack trace ---
         at Aspire.Dashboard.Model.Assistant.ChatClientFactory.GetInfoAsync(CancellationToken cancellationToken) in /_/src/Aspire.Dashboard/Model/Assistant/ChatClientFactory.cs:line 157
         at Aspire.Dashboard.Model.Assistant.AIContextProvider.GetInfoAsync(CancellationToken cancellationToken) in /_/src/Aspire.Dashboard/Model/Assistant/AIContextProvider.cs:line 270
         at Aspire.Dashboard.Model.Assistant.AssistantChatViewModel.InitializeCoreAsync() in /_/src/Aspire.Dashboard/Model/Assistant/AssistantChatViewModel.cs:line 337

Proposed solution

Integration with Github Copilot and relevant information passed to the Dashboard.

Alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions