Skip to content

Commit 0154a4a

Browse files
committed
Merge branch 'api-fixes' into groq_whisper
2 parents 51c2f37 + b2a4516 commit 0154a4a

File tree

15 files changed

+2917
-1197
lines changed

15 files changed

+2917
-1197
lines changed

.env.local

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
REDIS_URL=redis://redis
2+
3+
# Leave this blank to disable API security
4+
# You set this before opening the port in your firewall
5+
CONSERVER_API_TOKEN=fake-token
6+
7+
# to customize the config copy example_config.yml to config.yml
8+
# modify the values in config.yml as needed
9+
# and set CONSERVER_CONFIG_FILE to ./config.yml below
10+
CONSERVER_CONFIG_FILE=config.yml
11+
12+
CONSERVER_EXTERNAL_PORT=8000
13+
REDIS_EXTERNAL_PORT=8001
14+
DNS_HOST=localhost

poetry.lock

Lines changed: 1252 additions & 1064 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ black = "^24.2.0"
4444
pytest = "^8.0.2"
4545
pytest-asyncio = "^0.23.5"
4646
pytest-dotenv = "^0.5.2"
47+
fakeredis = "^2.28.0"
4748

4849
[build-system]
4950
requires = ["poetry-core"]

pytest.ini

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
[pytest]
2+
# Register custom markers
3+
markers =
4+
integration: marks tests that require a running MongoDB instance
5+
6+
# Test discovery settings
7+
testpaths = tests
8+
python_files = test_*.py
9+
python_classes = Test*
10+
python_functions = test_*
11+
12+
# Output settings
13+
addopts = -v
14+
15+
# Improved error handling
16+
xfail_strict = true
17+
218
pythonpath = ., server
319

420
log_cli = 1

0 commit comments

Comments
 (0)