Skip to content

Document how to use Copilot API #426

@krzwiatrzyk-lgd

Description

@krzwiatrzyk-lgd

Is your feature request related to a problem? Please describe.
Partially. I want to use Github Copilot as AI API however, there is no documentation regarding how to set it up.

I get following error indicating that authentication is needed however I have no clue how to generate/set those files:

❯ mods Hello

   ERROR  Copilot authentication failed

  failed to get refresh token: no token found in /Users/<user>/.config/github-copilot/hosts.json, /Users/<user>/.config/github-copilot/apps.json

Describe the solution you'd like
Describe in documentation what steps should be performed to make Copilot integration work.

Describe alternatives you've considered
Link to any Github Copilot documentation explaining how to set those files - however I didn't find any.

Additional context
Related PR - #406

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions