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
+5
View File
@@ -53,6 +53,9 @@ global config `~/.takopi/takopi.toml`
```toml
default_engine = "codex"
transport = "telegram"
[transports.telegram]
bot_token = "123456789:ABCdefGHIjklMNOpqrsTUVwxyz"
chat_id = 123456789
@@ -78,6 +81,8 @@ provider = "openai"
extra_args = ["--no-color"]
```
note: configs with top-level `bot_token` / `chat_id` must be migrated to `[transports.telegram]`.
## projects
register the current repo as a project alias: