Skip to content

Commit

Permalink
chore: update service url for integration test and tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <[email protected]>
  • Loading branch information
apepkuss committed Dec 28, 2023
1 parent c7ce3d9 commit c510b05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/docs/integrations/chat/wasm_chat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
],
"source": [
"# service url\n",
"service_url = \"https://f370-50-112-58-64.ngrok-free.app\"\n",
"service_url = \"https://b008-54-186-154-209.ngrok-free.app\"\n",
"\n",
"# create wasm-chat service instance\n",
"chat = WasmChatService(service_url=service_url)\n",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import pytest
from langchain_core.messages import AIMessage, HumanMessage, SystemMessage

from langchain_community.chat_models.wasm_chat import WasmChatService
from langchain_core.messages import AIMessage, HumanMessage, SystemMessage


@pytest.mark.enable_socket

Check failure on line 6 in libs/community/tests/integration_tests/chat_models/test_wasm_chat.py

View workflow job for this annotation

GitHub Actions / ci (libs/community) / lint / build (3.11)

Ruff (I001)

tests/integration_tests/chat_models/test_wasm_chat.py:1:1: I001 Import block is un-sorted or un-formatted
def test_chat_wasm_service() -> None:
"""This test requires the port 8080 is not occupied."""

# service url
service_url = "https://f370-50-112-58-64.ngrok-free.app"
service_url = "https://b008-54-186-154-209.ngrok-free.app"

# create wasm-chat service instance
chat = WasmChatService(service_url=service_url)
Expand Down

0 comments on commit c510b05

Please sign in to comment.