chore: pin deps to production versions, replace toml with tomllib

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude Code
2026-04-01 16:03:16 -05:00
parent 9774875173
commit 600f9deec1
2 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
# app/config.py # app/config.py
import toml import tomllib
import os import os
from pathlib import Path from pathlib import Path
from dataclasses import dataclass, field from dataclasses import dataclass, field
@@ -83,8 +83,8 @@ class Config:
config = cls() config = cls()
if config_path.exists(): if config_path.exists():
with open(config_path, "r") as f: with open(config_path, "rb") as f:
data = toml.load(f) data = tomllib.load(f)
if "general" in data: if "general" in data:
config.ollama_host = data["general"].get("ollama_host", config.ollama_host) config.ollama_host = data["general"].get("ollama_host", config.ollama_host)

View File

@@ -1,11 +1,11 @@
fastapi>=0.104.0 fastapi==0.135.2
uvicorn[standard]>=0.24.0 uvicorn[standard]==0.42.0
httpx>=0.25.0 httpx==0.28.1
qdrant-client>=1.6.0 qdrant-client==1.17.1
ollama>=0.1.0 ollama==0.6.1
toml>=0.10.2 tiktoken==0.12.0
tiktoken>=0.5.0 apscheduler==3.11.2
apscheduler>=3.10.0 portalocker==3.2.0
pytest>=7.0.0 pytest==9.0.2
pytest-asyncio>=0.21.0 pytest-asyncio==1.3.0
pytest-cov>=4.0.0 pytest-cov==7.1.0