Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

copilot should not use whatever valid token it can find if I setGITHUB_TOKEN #237

Labels
@williammartin

Description

@williammartin

Describe the feature or problem you'd like to solve

If I try to auth via env var, I expectcopilot to use it even if it is invalid, and not to fallback to another source like the keyring orgh. This can result in highly confusing behaviour when scopes or accessible resources are different.

Proposed solution

copilot should error, indicating that the token in was invalid.

Example prompts or workflows

➜  runc git:(main) GITHUB_TOKEN=foo copilot -p "hello"● Hello! I'm GitHub Copilot CLI, ready to help you with tasks in your runc repository. What would   you like to do?Total usage est:       1 Premium requestTotal duration (API):  3.4sTotal duration (wall): 5.2sTotal code changes:    0 lines added, 0 lines removedUsage by model:    claude-sonnet-4.5    5.9k input, 33 output, 2.1k cache read, 3.8k cache write (Est. 1 Premium request)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp