feat: migrate config to pydantic-settings (#65)

This commit is contained in:
banteg
2026-01-08 11:20:10 +04:00
committed by GitHub
parent 26df1c8ac0
commit d606833603
18 changed files with 937 additions and 131 deletions
+2 -1
View File
@@ -274,7 +274,8 @@ flowchart LR
subgraph toml_contents["takopi.toml"]
direction TB
global["bot_token<br/>chat_id<br/>default_engine"]
global["transport<br/>default_engine"]
telegram_cfg["[transports.telegram]<br/>bot_token = ...<br/>chat_id = ..."]
claude_cfg["[claude]<br/>model = ..."]
codex_cfg["[codex]<br/>model = ..."]
projects_cfg["[projects.alias]<br/>path = ...<br/>worktrees_dir = ...<br/>default_engine = ..."]