Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 382964b

Browse files
committed
host
1 parent a84d1b4 commit 382964b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

localstack_openai/mock_openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def list_engines():
225225

226226

227227
def run(port=1323):
228-
app.run(port=port, debug=True)
228+
app.run(host="0.0.0.0",port=port, debug=True)
229229

230230

231231
def stop():
-18 Bytes
Binary file not shown.

tests/test_chat_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
openai.organization = "org-test"
33
openai.api_key = "test"
44
# openai.api_base = "http://localhost:1323/v1"
5-
openai.api_base = "https://localhost.localstack.cloud:1323/v1"
5+
openai.api_base = "http://localhost:4510/v1"
66

77

88
def test_list_models():

0 commit comments

Comments
 (0)