API Key • Rust AI Agent SDK

api_key: Set the API key

api_key

Method

</div>

This is a method of the LlmConfig class in the llm module.

Set the API key

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation