mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 17:56:23 +02:00
comment zhipu ai proxy
This commit is contained in:
parent
9bee3ca838
commit
42d6e75d2e
1 changed files with 2 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue