feat: migrate config to pydantic-settings (#65)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user