CoAgent8 - Source API
    Preparing search index...

    Function validateConfig

    • Validates configuration from disk or an update before routing uses it.

      Parameters

      • value: unknown

        Untrusted JSON value; schema version 1 is required when supplied.

      Returns CoAgent8Config

      A normalized configuration with independent routing arrays and defaults.

      On invalid version, backend, strategy, allowed providers or backend settings.

      The legacy toolProfile and other unrecognized properties are ignored; the returned object contains only the supported configuration fields.