mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
fix bugs
This commit is contained in:
parent
92d31fb750
commit
f1cfeb234e
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -26,7 +26,7 @@ async def test_text_to_embedding(mocker):
|
|||
data = await aread(Path(__file__).parent / "../../data/openai/embedding.json")
|
||||
mock_response.json.return_value = json.loads(data)
|
||||
mock_post.return_value.__aenter__.return_value = mock_response
|
||||
type(config.get_openai_llm()).proxy = mocker.PropertyMock(return_value="http://mock.proxy")
|
||||
config.get_openai_llm().proxy = mocker.PropertyMock(return_value="http://mock.proxy")
|
||||
|
||||
# Prerequisites
|
||||
assert config.get_openai_llm().api_key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue