feat: Add logging to API endpoints, update generation response model, and refine project configurations.
This commit is contained in:
@@ -25,6 +25,6 @@ def get_dao(mongo_client: AsyncIOMotorClient = Depends(get_mongo_client)) -> DAO
|
||||
# Провайдер сервиса (собирается из DAO и Gemini)
|
||||
def get_generation_service(
|
||||
dao: DAO = Depends(get_dao),
|
||||
gemini: GoogleAdapter = Depends(get_gemini_client)
|
||||
gemini: GoogleAdapter = Depends(get_gemini_client),
|
||||
) -> GenerationService:
|
||||
return GenerationService(dao, gemini)
|
||||
Reference in New Issue
Block a user