From e420aee0beb5cd1467da20fd99fd9c9a74d390c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Mon, 22 May 2023 10:59:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AE=20fix:=20m1=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev_gpt/apis/jina_cloud.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev_gpt/apis/jina_cloud.py b/dev_gpt/apis/jina_cloud.py index e7963db..ac0953b 100644 --- a/dev_gpt/apis/jina_cloud.py +++ b/dev_gpt/apis/jina_cloud.py @@ -103,6 +103,11 @@ def _push_executor(dir_path): } 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',