Skip to content

Conversation

@inimaz
Copy link
Collaborator

@inimaz inimaz commented Nov 26, 2024

This pull request includes a change to the monitor function in the codecarbon/cli/main.py file. The change ensures that the access token is only retrieved if the API is enabled.

  • codecarbon/cli/main.py: Modified the monitor function to retrieve the access token only if the API is enabled and an experiment ID is present.

@prmths128
Copy link
Contributor

nice ; haven't tried it yet
the other side of that feature would be: #722 (wip, first draft)

@inimaz inimaz merged commit 9db53a2 into master Dec 2, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

3 participants