From b6ff113fc149069c2f7faed7d9299017d9c1fb36 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Sun, 27 Oct 2024 18:45:32 -0700 Subject: [PATCH] trap --- chatbot_ui/.vscode/launch.json | 13 ------------- chatbot_ui/Dockerfile | 2 +- demos/function_calling/docker-compose.yaml | 4 ++-- e2e_tests/run_e2e_tests.sh | 1 - 4 files changed, 3 insertions(+), 17 deletions(-) diff --git a/chatbot_ui/.vscode/launch.json b/chatbot_ui/.vscode/launch.json index 947754a5..2064a252 100644 --- a/chatbot_ui/.vscode/launch.json +++ b/chatbot_ui/.vscode/launch.json @@ -31,18 +31,5 @@ "CHAT_COMPLETION_ENDPOINT": "http://localhost:12000/v1" } }, - { - "python": "${workspaceFolder}/venv/bin/python", - "name": "chatbot-ui (llm) streaming", - "cwd": "${workspaceFolder}/app", - "type": "debugpy", - "request": "launch", - "program": "run_stream.py", - "console": "integratedTerminal", - "env": { - "LLM": "1", - "CHAT_COMPLETION_ENDPOINT": "http://localhost:12000/v1" - } - } ] } diff --git a/chatbot_ui/Dockerfile b/chatbot_ui/Dockerfile index 8f4f4ac3..68b41f94 100644 --- a/chatbot_ui/Dockerfile +++ b/chatbot_ui/Dockerfile @@ -17,4 +17,4 @@ COPY --from=builder /runtime /usr/local COPY /app /app WORKDIR /app -CMD ["python", "run_stream.py"] +CMD ["python", "run.py"] diff --git a/demos/function_calling/docker-compose.yaml b/demos/function_calling/docker-compose.yaml index 5fefdc34..40a01743 100644 --- a/demos/function_calling/docker-compose.yaml +++ b/demos/function_calling/docker-compose.yaml @@ -13,11 +13,11 @@ services: chatbot_ui: build: context: ../../chatbot_ui - dockerfile: Dockerfile ports: - "18080:8080" environment: - - CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1 #this is only because we are running the sample app in the same docker container environemtn as archgw + # this is only because we are running the sample app in the same docker container environemtn as archgw + - CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1 extra_hosts: - "host.docker.internal:host-gateway" volumes: diff --git a/e2e_tests/run_e2e_tests.sh b/e2e_tests/run_e2e_tests.sh index 37fd5217..d0e9b35f 100644 --- a/e2e_tests/run_e2e_tests.sh +++ b/e2e_tests/run_e2e_tests.sh @@ -16,7 +16,6 @@ print_debug() { trap 'print_debug' INT TERM - log starting > ../build.log log building function_callling demo