use Value;
/// Extracts the core "intent" from an LLM request payload.
/// This prevents caching from breaking if trivial metadata (like temperature, max_tokens, or a changing session ID) changes.
/// Extracts the core "intent" from an already-parsed request value (avoids re-parsing).