bots/sdlc-slackbot/sdlc_slackbot/config.py [12:20]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def validate_channel(channel_id: str) -> str:
    if not channel_id.startswith("C"):
        raise ValueError("channel ID must start with 'C'")
    return channel_id


class Config(BaseModel):
    # OpenAI organization ID associated with OpenAI API key.
    openai_organization_id: str
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



bots/triage-slackbot/triage_slackbot/config.py [21:29]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def validate_channel(channel_id: str) -> str:
    if not channel_id.startswith("C"):
        raise ValueError("channel ID must start with 'C'")
    return channel_id


class Config(BaseModel):
    # OpenAI organization ID associated with OpenAI API key.
    openai_organization_id: str
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



