Skip to content

Commit e29aa70

Browse files
committed
Fix trunk issues
Signed-off-by: Fabian von Feilitzsch <[email protected]>
1 parent 7e484e5 commit e29aa70

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

kai_mcp_solution_server/src/kai_mcp_solution_server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async def wrapper(kai_ctx: KaiSolutionServerContext, *args, **kwargs):
6060
return await func(kai_ctx, *args, **kwargs)
6161
except IntegrityError:
6262
raise
63-
except SQLAlchemyTimeoutError as e:
63+
except SQLAlchemyTimeoutError:
6464
if attempt < max_retries - 1:
6565
delay = base_delay * (2**attempt) # Exponential backoff
6666
log(

kai_mcp_solution_server/tests/test_multiple_integration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import asyncio
22
import concurrent
3-
import concurrent.futures
43
import datetime
54
import json
65
import os

kai_mcp_solution_server/tools/deploy/podman-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ services:
99
POSTGRES_PASSWORD: kai_password
1010
POSTGRES_DB: kai_db
1111
ports:
12-
- "5432:5432"
12+
- 5432:5432
1313
healthcheck:
14-
test: ["CMD-SHELL", "pg_isready -U kai_user"]
14+
test: [CMD-SHELL, pg_isready -U kai_user]
1515
interval: 5s
1616
timeout: 5s
1717
retries: 5
@@ -26,9 +26,9 @@ services:
2626
postgres:
2727
condition: service_healthy
2828
ports:
29-
- "8000:8000"
29+
- 8000:8000
3030
environment:
31-
KAI_DB_DSN: "postgresql+asyncpg://kai_user:kai_password@postgres:5432/kai_db"
31+
KAI_DB_DSN: postgresql+asyncpg://kai_user:kai_password@postgres:5432/kai_db
3232
KAI_LLM_PARAMS: ${KAI_LLM_PARAMS}
3333
MOUNT_PATH: ${MOUNT_PATH:-/}
3434
# Pass through API keys and credentials
@@ -46,4 +46,4 @@ services:
4646
KAI_API_KEY: ${KAI_API_KEY}
4747

4848
volumes:
49-
kai-postgres-data:
49+
kai-postgres-data: {}

0 commit comments

Comments
 (0)