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

cache tokens seems not to work #62

Open
geasus opened this issue Aug 12, 2024 · 1 comment
Open

cache tokens seems not to work #62

geasus opened this issue Aug 12, 2024 · 1 comment
Assignees

Comments

@geasus
Copy link

geasus commented Aug 12, 2024

I used the dump method to dump and obtain a token, which is stored in tokens.json but whenever i do copilot chat command for example and use the --cached-token argument it keeps saying no cache tokens found. Why does it not use the tokens.json file but keeps saying no cache tokens found.

@lanasalameh1
Copy link
Collaborator

please pay attention that tokens for dump command are completely different than than the one used for copilot - these are two different audiences.
the cached-token works per command, ie you can login once for a specific command and then use the cached tokens (until they get expired) for the same command

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

2 participants