Fix logging issues in poetry_generation.log; add warnings for custom vocabulary loading and model file not found errors, and ensure BASE_MODEL_DIR ends with a slash
Refactor GenerateRequest model; remove field aliases for emotional_tone, creative_style, language_variety, and word_repetition, and update validation error messages to match new field names
Enhance model initialization and error handling; implement model path verification, improve logging configuration, and modify startup event for better diagnostics
Update model configuration and enhance initialization logic; adjust BASE_DIR for container, implement model download functionality, and improve health check response
Refactor FastAPI application structure; implement CORS middleware, update model initialization, and enhance poem generation endpoint with new request and response models
Refactor PoetryGenerationService and ModelManager for improved resource efficiency; optimize model loading, implement caching, and enhance error handling