Skip to content

Commit db01e50

Browse files
avoid unnecessary base url path configuration
1 parent c47165b commit db01e50

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compose.dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
SECRET_KEY: supersecret
1010
SEGMENT_WRITE_KEY: ${SEGMENT_WRITE_KEY} # Set your Segment write key here or in the .env file
1111
SESSION_COOKIE_SECURE: 0
12-
OPENAI_BASE_URL: "http://llm:5051/api/v1"
12+
OPENAI_BASE_URL: "http://llm:5051"
1313
SENTENCE_TRANSFORMERS_HOME: /app/sentence-transformers
1414
volumes:
1515
- type: bind

compose.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
SEGMENT_WRITE_KEY:
1919
SESSION_COOKIE_SECURE: 1
2020
OPENAI_API_KEY: ${OPENAI_API_KEY} # Set your OpenAI API key here or in the .env file
21-
OPENAI_BASE_URL: "http://llm/api/v1"
21+
OPENAI_BASE_URL: "http://llm"
2222
MODEL: "anthropic.claude-3-sonnet-20240229-v1:0"
2323
command: uwsgi --http 0.0.0.0:5050 --wsgi-file app.py --callable app --processes 4 --threads 2
2424
deploy:
@@ -42,6 +42,5 @@ services:
4242
mode: host
4343
environment:
4444
- OPENAI_API_KEY=${OPENAI_API_KEY}
45-
- API_ROUTE_PREFIX=/api/v1
4645
healthcheck:
4746
test: ["CMD", "curl", "-f", "http://localhost/health"]

0 commit comments

Comments
 (0)