binary-husky / gpt_academic

为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。
https://github.com/binary-husky/gpt_academic/wiki/online
GNU General Public License v3.0
65.24k stars 8.03k forks source link

[Feature]: 现在人在海外,用了“USE_PROXY = False”依然不行,输出的时候依然是“AttributeError: module 'config' has no attribute 'proxies'” #1422

Closed Ambrose-H closed 10 months ago

Ambrose-H commented 10 months ago

Class | 类型

None

Feature Request | 功能请求

LLM_MODEL = "gpt-3.5-turbo" API_KEY = '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' API_URL = {"https://api.openai.com/v1/chat/completions"}

USE_PROXY = False

["Default", "Chuanhu-Small-and-Beautiful", "High-Contrast"]

CHATBOT_HEIGHT = 1115

CODE_HIGHLIGHT = True

LAYOUT = "LEFT-RIGHT" # "LEFT-RIGHT"(左右布局) # "TOP-DOWN"(上下布局)

DARK_MODE = True # 暗色模式 / 亮色模式

TIMEOUT_SECONDS = 30

WEB_PORT = -1

MAX_RETRY = 2

DEFAULT_FN_GROUPS = ['对话', '编程', '学术']

LLM_MODEL = "gpt-3.5-turbo" # 可选 ↓↓↓

AVAIL_LLM_MODELS = ["gpt-3.5-turbo-16k", "gpt-3.5-turbo", "azure-gpt-3.5", "api2d-gpt-3.5-turbo", "gpt-4", "api2d-gpt-4", "chatglm", "moss", "newbing", "stack-claude"]

CONCURRENT_COUNT = 100

AUTO_CLEAR_TXT = False

ADD_WAIFU = False

AUTHENTICATION = [("username", "password"), ("username2", "password2"), ...]

binary-husky commented 10 months ago

人在海外不用改USE_PROXY

binary-husky commented 10 months ago

恢复项目默认就行