venice_ai.core.config.enums
Enums for the Venice AI configuration system.
These enums have no internal dependencies and are imported by all other config submodules.
CachePolicy Objects
class CachePolicy(Enum)
Cache write policies for state management.
- WRITE_THROUGH: Durable dual writes — recommended for production.
- WRITE_BACK: Fast batched writes, data-loss risk — dev/test only.
- WRITE_AROUND: Bypass cache, write directly to backend — bulk writes.
SchedulerMode Objects
class SchedulerMode(Enum)
Scheduler operation modes.
BackendType Objects
class BackendType(Enum)
Supported backend types.
BackendType.MEMORY
MEMORY = "memory"
For testing