Member Junction
    Preparing search index...

    Function ExtractRealtimeFeatures

    • Pulls the MJ-idiomatic feature keys OUT of the open Config bag so they are (a) translated to their provider-native session fields only when the profile confirms support, and (b) NEVER leaked raw into a provider payload that would reject unknown fields.

      Recognized bag keys: effortLevel (MJ-normalized: numeric 1–100 or named), reasoningEffort (provider-native literal — wins over effortLevel when both are present), parallelToolCalls, mcpTools, voice, disableAutoResponse. Everything else passes through in rest (provider-native keys like tool_choice or output_modalities can be set directly by config authors).

      Parameters

      • config: JSONObject

        The open session Config bag (may be undefined).

      Returns ExtractedRealtimeFeatures

      The extracted features plus the residual bag.