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
import toml
import tomllib
import os
from pathlib import Path
from dataclasses import dataclass, field
@@ -83,8 +83,8 @@ class Config:
config = cls()
if config_path.exists():
with open(config_path, "r") as f:
data = toml.load(f)
with open(config_path, "rb") as f:
data = tomllib.load(f)
if "general" in data:
config.ollama_host = data["general"].get("ollama_host", config.ollama_host)