Skip to main content

LlmConfig

Defined in the LLM module.
Rust AI Agent SDK LLM configuration

Fields

Methods

new

Create a new LLM config with the given model Parameters:

api_key

Set the API key Parameters:

base_url

Set the base URL Parameters:

temperature

Set the temperature Parameters:

max_tokens

Set max tokens Parameters:

Source

View on GitHub

praisonai/src/llm/mod.rs at line 165

Rust LLM

Rust Providers

Rust Failover

Rust Configuration

Rust Installation