diff --git a/litellm/llms/github_copilot/authenticator.py b/litellm/llms/github_copilot/authenticator.py index 105daa568c..7b76d521c1 100644 --- a/litellm/llms/github_copilot/authenticator.py +++ b/litellm/llms/github_copilot/authenticator.py @@ -298,7 +298,7 @@ class Authenticator: user_code = device_code_info["user_code"] verification_uri = device_code_info["verification_uri"] - verbose_logger.info( + print( f"Please visit {verification_uri} and enter code {user_code} to authenticate." ) diff --git a/tests/llm_translation/test_github_copilot_authenticator.py b/tests/llm_translation/test_github_copilot_authenticator.py index 95e3982a2a..247b7bf678 100644 --- a/tests/llm_translation/test_github_copilot_authenticator.py +++ b/tests/llm_translation/test_github_copilot_authenticator.py @@ -176,4 +176,4 @@ class TestGitHubCopilotAuthenticator: assert result == mock_token authenticator._get_device_code.assert_called_once() authenticator._poll_for_access_token.assert_called_once_with("mock-device-code") - mock_print.assert_called_once() \ No newline at end of file + mock_print.assert_called_once()