mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-19 22:54:21 +01:00
refactor: bump version
This commit is contained in:
2
setup.py
2
setup.py
@@ -7,7 +7,7 @@ def read_requirements():
|
||||
|
||||
setup(
|
||||
name='gptdeploy',
|
||||
version='0.18.13',
|
||||
version='0.18.14',
|
||||
description='Use natural language interface to create, deploy and update your microservice infrastructure.',
|
||||
long_description=open('README.md', 'r', encoding='utf-8').read(),
|
||||
long_description_content_type='text/markdown',
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__version__ = '0.18.13'
|
||||
__version__ = '0.18.14'
|
||||
from src.cli import main
|
||||
@@ -11,6 +11,7 @@ from hubble.executor.helper import upload_file, archive_package, get_request_hea
|
||||
from jcloud.flow import CloudFlow
|
||||
|
||||
from src.utils.io import suppress_stdout
|
||||
from src.utils.string_tools import print_colored
|
||||
|
||||
|
||||
def redirect_callback(href):
|
||||
@@ -25,6 +26,12 @@ def jina_auth_login():
|
||||
try:
|
||||
hubble.Client(jsonify=True).get_user_info(log_error=False)
|
||||
except hubble.AuthenticationRequiredError:
|
||||
print('You need login to Jina first to use GPTDeploy')
|
||||
print_colored('', '''
|
||||
If you just created an account, it can happen that the login callback is not working.
|
||||
In this case, please cancel this run, rerun your gptdeploy command and login into your account again.
|
||||
''', 'green'
|
||||
)
|
||||
hubble.login(prompt='login', redirect_callback=redirect_callback)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user