new • Rust AI Agent SDK

new: Create a new OpenAI provider

new

Method

</div>

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

Create a new OpenAI provider

Signature

python
def new(config: LlmConfig) -> Self

Parameters

ParamField LlmConfig

No description available.

Returns

ResponseField Self

The result of the operation.