With Context • Rust AI Agent SDK

with_context: Add context

with_context

Method

</div>

This is a method of the ErrorLog class in the display_types module.

Add context

Signature

python
def with_context(mut self, key: impl Into<String>, value: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation