Inject Context • AI Agent SDK

inject_context: No-op: leave “carrier“ untouched when tracing is disabled.

inject_context

Method

</div>

This is a method of the NullGatewayTraceHook class in the protocols module.

No-op: leave `carrier` untouched when tracing is disabled.

Signature

python
def inject_context(carrier: 'MutableMapping[str, str]') -> None

Parameters

ParamField 'MutableMapping[str, str]'

No description available.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 6855


Related Documentation