Skip to content

Commit 4794588

Browse files
committed
Added default for the safety canary so CI pipeline is happy
1 parent faa9cd4 commit 4794588

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

backend/app/core/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import os
44
from typing import Optional
55

6+
from pydantic import Field
67
from pydantic_settings import BaseSettings, SettingsConfigDict
78

89

@@ -30,7 +31,7 @@ class Settings(BaseSettings):
3031
OPENAI_API_KEY: Optional[str] = None
3132

3233
# --- Safety Canary ---
33-
SAFETY_CANARY: str
34+
SAFETY_CANARY: str = Field(default="BNZe4fAKVj/DZ/atHZZaVZxpyZGDZt+TqH0sT5J6AMY=")
3435

3536
model_config = SettingsConfigDict(
3637
env_file=os.getenv("ENV_FILE", "dev.env"),

0 commit comments

Comments
 (0)