mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
trap
This commit is contained in:
parent
a52297287e
commit
b6ff113fc1
4 changed files with 3 additions and 17 deletions
13
chatbot_ui/.vscode/launch.json
vendored
13
chatbot_ui/.vscode/launch.json
vendored
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@ COPY --from=builder /runtime /usr/local
|
|||
COPY /app /app
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["python", "run_stream.py"]
|
||||
CMD ["python", "run.py"]
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ print_debug() {
|
|||
|
||||
trap 'print_debug' INT TERM
|
||||
|
||||
|
||||
log starting > ../build.log
|
||||
|
||||
log building function_callling demo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue