new features
This commit is contained in:
@@ -28,6 +28,8 @@ This document provides guidelines and best practices for AI agents working with
|
||||
- Use enums or `Literal` types for fixed sets of values (see `ArtifactTypeEnum` pattern)
|
||||
- Configuration values belong in `Settings` class with explicit defaults
|
||||
- Never hardcode timeouts, limits, or thresholds inline
|
||||
- Store user-facing error messages as module-level constants with `ERROR_` prefix
|
||||
- Example: `ERROR_NO_AUDIO_STREAM = "Файл не содержит аудиодорожки"`
|
||||
|
||||
```python
|
||||
# BAD
|
||||
|
||||
Reference in New Issue
Block a user