wujohns
wujohns
async/await对promise有强依赖,并非最佳的异步处理解决方案
实际上这个项目的训练目标是输入一段文本,然后在此文本上进行续写,而非 input, output 模式的对应(其实这个和实际需求有较大的出入,大部分人的需求是类似于对话模式的 input 和 output),所以才会在数据集的格式上产生疑问
> 别用watch了,特殊时期watch很容易寄 其他的协议不是很容易被ban吗,有一段时间也就只有watch能用
because the agent module 'https-proxy-agent' works fine, but 'https-proxy-agent' is not instanceof http.Agent
May I make a pr for this?
> > because the agent module 'https-proxy-agent' works fine, but 'https-proxy-agent' is not instanceof http.Agent > > https://github.com/TooTallNate/proxy-agents/blob/main/packages/https-proxy-agent/src/index.ts#L44 https://github.com/TooTallNate/proxy-agents/blob/main/packages/agent-base/src/index.ts#L29 emmmmm,but the example code not work..... I just try to find...
> > because the agent module 'https-proxy-agent' works fine, but 'https-proxy-agent' is not instanceof http.Agent > > https://github.com/TooTallNate/proxy-agents/blob/main/packages/https-proxy-agent/src/index.ts#L44 https://github.com/TooTallNate/proxy-agents/blob/main/packages/agent-base/src/index.ts#L29 The main problem is the npm module 'proxy-agent' has bug, even...
my agent object is below: ```js const HttpsProxyAgent = require('https-proxy-agent') const httpAgent = new HttpsProxyAgent('http://127.0.0.1:7890') const wsAgent = new HttpsProxyAgent('http://127.0.0.1:7890') const client = new Client({ http: { agent: httpAgent },...
when using npm module 'proxy-agent' the link to discord always failed The code below not work: ``` const { ProxyAgent } = require('proxy-agent') const httpAgent = new ProxyAgent('http://127.0.0.1:7890') const wsAgent...
But: 1. the npm module 'https-proxy-agent' is not the instance of http.Agent (this.client.options.http.agent instanceof http.Agent is false), 2. so I fork this repo, and change the instance of http.Agent judge...