Function commitDeveloperMessageForce

  • Forcefully commits a developer-generated message to a session in the swarm system, without checking the active agent. Validates the session and swarm, then proceeds with committing the message regardless of the current agent state. Runs within a beginContext wrapper for execution context management, logging operations via LoggerService. Integrates with SessionValidationService (session and swarm retrieval), SwarmValidationService (swarm validation), SessionPublicService (message committing), and LoggerService (logging). Unlike commitDeveloperMessage, this function skips agent validation and active agent checks, providing a more aggressive commit mechanism, analogous to commitAssistantMessageForce vs. commitAssistantMessage.

    Parameters

    • content: string

      The content to be processed or stored.

    • clientId: string

      The unique identifier of the client session.

    Returns Promise<void>

    If session or swarm validation fails, propagated from respective validation services.