comment zhipu ai proxy

This commit is contained in:
geekan 2024-01-03 16:05:17 +08:00
parent 9bee3ca838
commit 42d6e75d2e

View file

@ -84,10 +84,6 @@ async def test_zhipuai_acompletion(mocker):
def test_zhipuai_proxy():
import openai
from metagpt.config import CONFIG
CONFIG.openai_proxy = "http://127.0.0.1:8080"
# CONFIG.openai_proxy = "http://127.0.0.1:8080"
_ = ZhiPuAILLM()
assert openai.proxy == CONFIG.openai_proxy
# assert openai.proxy == CONFIG.openai_proxy