Expand description
Encapsulates all interactions with Large Language Models (LLMs).
This module provides the client for the application’s AI-powered features, such as generating, fixing, and explaining shell commands. It defines a common interface for interacting with different AI providers.
Structs§
- AiClient
- A generic client to communicate with AI providers
- Command
Fix - A structured object to propose a fix to a failed command
- Command
Suggestion - A structured object representing a suggestion for a shell command and its explanation
- Command
Suggestions
Traits§
- AiProvider
- A trait that defines the provider-specific logic for the generic
AiClient
- AiProvider
Base - A trait that defines the provider-specific logic for the generic
AiClient