continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
15.81k stars 1.2k forks source link

Github Issues: fails with multiple owners #1941

Open avimar opened 1 month ago

avimar commented 1 month ago

Before submitting your bug report

Relevant environment info

- OS:
- Continue:
- IDE:
- Model:
- config.json:

    {
      "name": "issue",
      "params": {
        "repos": [
          {
            "owner": "owner",
            "repo": "repo"
          }
        ],
        "githubToken": "github_pat_xxxxx"
      }
    },
{
    "name": "issue",
    "params": {
      "repos": [
        {
          "owner": "OtherOwner",
          "repo": "OtherPero"
        }
         ],
         "githubToken": "github_pat_yyyyyy"
    }
     }

Description

It only connects to one repository. I tried to make it as one entry in the config, but I'm unable to get a token that can access multiple owners.

There would need to be a way to specify multiple tokens either per owner or per repository.

To reproduce

No response

Log output

No response

avimar commented 1 month ago

https://github.com/continuedev/continue/blob/main/core/context/providers/GitHubIssuesContextProvider.ts