AiClient class
Uses fixed cloud APIs or a loopback chat API. No redirects or retries.
Constructors
- AiClient({required AiProvider provider, String apiKey = '', String? model, String? baseUrl, HttpClient? httpClient, Duration? timeout})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String
-
final
- provider → AiProvider
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
final
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited