openai是0.27.8,langchain是0.0.288
用openai的api调阿里千问的模型,没有问题,
但是用langchain的api调千问的模型,就报错,
报错信息:
Retrying langchain.llms.openai.completion_with_retry.._completion_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host=‘dashscope.aliyuncs.com’, port=443): Max retries exceeded with url: /compatible-mode/v1/completions (Caused by ProxyError(‘Unable to connect to proxy’, OSError(‘Tunnel connection failed: 404 Not Found’))).