livai_adapter
LivAI provider adapter implementation.
This module defines LivAIAdapter,
an OpenAIAdapter specialization
for LivAI-hosted models.
LivAIAdapter
Bases: OpenAIAdapter
Provider adapter for LivAI-hosted chat models.
LivAI models are served through OpenAI's API, so we can re-use the
same behavior as the
OpenAIAdapter,
while exposing a different provider name.
Attributes:
| Name | Type | Description |
|---|---|---|
provider_name |
Name of the provider handled by this adapter. |
|
chat_client |
Chat client class used to create LivAI chat clients. |