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

GitHub Plugin not working in Chat-Copilot App #1147

Closed
ghost opened this issue Sep 19, 2024 · 1 comment
Closed

GitHub Plugin not working in Chat-Copilot App #1147

ghost opened this issue Sep 19, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 19, 2024

Describe the bug
Unable to generate bot response. Details: Error: 500: System.IO.FileNotFoundException: Invalid URI. The specified path 'C:\Users\x-nnn\Documents\GitHub\chat-copilot\webapi\bin\Debug\net8.0\Plugins\GitHubPlugin/openapi.json' does not exist. at Microsoft.SemanticKernel.Plugins.OpenApi.DocumentLoader.LoadDocumentFromFilePathAsync(String filePath, ILogger logger, CancellationToken cancellationToken) at Microsoft.SemanticKernel.Plugins.OpenApi.OpenApiKernelExtensions.CreatePluginFromOpenApiAsync(Kernel kernel, String pluginName, String filePath, OpenApiFunctionExecutionParameters executionParameters, CancellationToken cancellationToken) at Microsoft.SemanticKernel.Plugins.OpenApi.OpenApiKernelExtensions.ImportPluginFromOpenApiAsync(Kernel kernel, String pluginName, String filePath, OpenApiFunctionExecutionParameters executionParameters, CancellationToken cancellationToken) at CopilotChat.WebApi.Controllers.ChatController.RegisterGithubPlugin(Kernel kernel, String GithubAu...Unable to generate bot response. Details: Error: 500: System.IO.FileNotFoundException: Invalid URI. The specified path 'C:\Users\x-nnn\Documents\GitHub\chat-copilot\webapi\bin\Debug\net8.0\Plugins\GitHubPlugin/openapi.json' does not exist. at Microsoft.SemanticKernel.Plugins.OpenApi.DocumentLoader.LoadDocumentFromFilePathAsync(String filePath, ILogger logger, CancellationToken cancellationToken) at Microsoft.SemanticKernel.Plugins.OpenApi.OpenApiKernelExtensions.CreatePluginFromOpenApiAsync(Kernel kernel, String pluginName, String filePath, OpenApiFunctionExecutionParameters executionParameters, CancellationToken cancellationToken) at Microsoft.SemanticKernel.Plugins.OpenApi.OpenApiKernelExtensions.ImportPluginFromOpenApiAsync(Kernel kernel, String pluginName, String filePath, OpenApiFunctionExecutionParameters executionParameters, CancellationToken cancellationToken) at CopilotChat.WebApi.Controllers.ChatController.RegisterGithubPlugin(Kernel kernel, String GithubAu...

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Chat-Copilot App'
  2. Click on 'Plugin'
  3. Scroll down to 'Github"...Configure itwith trhe required details
  4. When trying to chat with the plugin ....See error mentioned above

Expected behavior
Should return the OPEN PR IDs

Screenshots
If applicable, add screenshots to help explain your problem.

Platform

  • OS: Windows
  • IDE: Visual Studio
  • Language: C#
  • Source: Main Branch Repo

Additional context
Add any other context about the problem here.

@dluc
Copy link
Collaborator

dluc commented Nov 13, 2024

Fixed :-)

@dluc dluc closed this as completed Nov 13, 2024
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

1 participant