Turn recording of GenAI message content on or off for the process.
When off, spans still carry every non-content GenAI attribute (model, provider, token
usage, finish reasons, tool names), but gen_ai.input.messages, gen_ai.output.messages,
gen_ai.system_instructions, gen_ai.tool.definitions and
gen_ai.tool.call.{arguments,result} are omitted.
Turn recording of GenAI message content on or off for the process.
When off, spans still carry every non-content GenAI attribute (model, provider, token usage, finish reasons, tool names), but
gen_ai.input.messages,gen_ai.output.messages,gen_ai.system_instructions,gen_ai.tool.definitionsandgen_ai.tool.call.{arguments,result}are omitted.