llm
Rust AI Agent SDK LLM Provider abstraction for PraisonAI This module provides the LLM provider trait and implementations. Uses rig-core for multi-provider support (OpenAI, Anthropic, Ollama, etc.)Import
Types
Message
A message in a conversation
Tool Call
A tool call made by the LLM
LLM Response
LLM response
Usage
Token usage statistics
LLM Config
LLM configuration
Open AI Provider
OpenAI-compatible LLM provider
LLM Provider
Trait for LLM providers
Role
Message role in a conversation

