Commit graph

3 commits

Author SHA1 Message Date
3740691dac feat(04-01): add openai dependency and AI config
- Add openai package to dependencies in pyproject.toml
- Extend BotConfig with ai_router, ai_api_key, ai_referer attributes
- Load AI settings from environment with sensible defaults

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:02:59 +00:00
dfdadc62f0 chore: add python-dotenv for .env loading 2026-01-16 18:27:22 +00:00
39b1781f19 build(01-01): create pyproject.toml with dependencies and tool config
- Add project metadata with Python 3.11+ requirement
- Configure dependencies: python-telegram-bot, sqlalchemy, httpx, aiosqlite
- Add dev dependencies: pytest, pytest-cov, pytest-asyncio, ruff, pre-commit
- Configure ruff with line-length 100, py311 target
- Configure pytest with asyncio_mode auto
- Use hatchling build backend with src layout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 14:59:40 +00:00