| """ | |
| Configuration settings for Cloud Agents. | |
| """ | |
| from pydantic_settings import BaseSettings | |
| from typing import Optional | |
| class Settings(BaseSettings): | |
| """Settings for Cloud Agents configuration.""" | |
| COUCHDB_URL: str = "http://localhost:5984" | |
| COUCHDB_USER: str = "admin" | |
| COUCHDB_PASSWORD: str = "password" | |
| COORDINATOR_HOST: str = "localhost" | |
| COORDINATOR_PORT: int = 8000 | |
| MODEL_ID: str = "OpenPeerAI/OpenPeerLLM" | |
| RAY_HEAD_PORT: int = 6379 | |
| BATCH_SIZE: int = 32 | |
| GRADIENT_ACCUMULATION_STEPS: int = 4 | |
| class Config: | |
| env_file = ".env" | |
| env_file_encoding = "utf-8" | |
| settings = Settings() |