Fix Docker runtime errors: migrate to google-genai SDK and fix SQLite permissions
Some checks failed
CI / test (push) Has been cancelled

Migrate from deprecated google-generativeai to google-genai (>=1.0) using the
new Client-based API, and fix SQLite "unable to open database file" in Docker
by chowning the data directory to appuser before switching users.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 02:56:31 +09:00
parent 03c6b2b942
commit e025136047
5 changed files with 17 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ dependencies = [
"aiohttp>=3.9,<4",
"pydantic>=2.5,<3",
"pydantic-settings>=2.1,<3",
"google-generativeai>=0.8,<1",
"google-genai>=1.0,<2",
]
[project.optional-dependencies]