mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-21 07:34:20 +01:00
⏪ fix: show logs
This commit is contained in:
@@ -101,13 +101,13 @@ def _push_executor(dir_path):
|
||||
'buildEnv': f'{{"OPENAI_API_KEY": "{os.environ["OPENAI_API_KEY"]}", "GOOGLE_API_KEY": "{os.environ.get("GOOGLE_API_KEY","")}", "GOOGLE_CSE_ID": "{os.environ.get("GOOGLE_CSE_ID","")}"}}',
|
||||
'md5sum': md5_digest,
|
||||
}
|
||||
with suppress_stdout():
|
||||
headers = get_request_header()
|
||||
headers['jinameta-platform'] = 'Darwin'
|
||||
headers['jinameta-platform-release'] = '21.1.0'
|
||||
headers['jinameta-platform-version'] = 'Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64'
|
||||
headers['jinameta-architecture'] = 'x86_64'
|
||||
headers['jinameta-processor'] = 'i386'
|
||||
# with suppress_stdout():
|
||||
headers = get_request_header()
|
||||
headers['jinameta-platform'] = 'Darwin'
|
||||
headers['jinameta-platform-release'] = '21.1.0'
|
||||
headers['jinameta-platform-version'] = 'Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64'
|
||||
headers['jinameta-architecture'] = 'x86_64'
|
||||
headers['jinameta-processor'] = 'i386'
|
||||
|
||||
resp = upload_file(
|
||||
'https://api.hubble.jina.ai/v2/rpc/executor.push',
|
||||
|
||||
Reference in New Issue
Block a user