镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-09 07:56:48 +00:00
feat: change arxiv io param
这个提交包含在:
@@ -497,6 +497,10 @@ def upload_to_gptac_cloud_if_user_allow(chatbot, arxiv_id):
|
|||||||
data = {
|
data = {
|
||||||
'arxiv_id': arxiv_id,
|
'arxiv_id': arxiv_id,
|
||||||
'file_hash': map_file_to_sha256(file_path),
|
'file_hash': map_file_to_sha256(file_path),
|
||||||
|
'language': 'zh',
|
||||||
|
'trans_prompt': 'to_be_implemented',
|
||||||
|
'llm_model': 'to_be_implemented',
|
||||||
|
'llm_model_param': 'to_be_implemented',
|
||||||
}
|
}
|
||||||
resp = requests.post(url=url, files=files, data=data, timeout=30)
|
resp = requests.post(url=url, files=files, data=data, timeout=30)
|
||||||
logger.info(f'Uploading terminate ({resp.status_code})`: {file_path}')
|
logger.info(f'Uploading terminate ({resp.status_code})`: {file_path}')
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户