"""Smarter API Manifest - Plugin.status."""
import os
from typing import ClassVar, Optional
from pydantic import Field
from smarter.apps.llmclient.manifest.models.llmclient.const import MANIFEST_KIND
from smarter.lib.manifest.models import AbstractSAMStatusBase
filename = os.path.splitext(os.path.basename(__file__))[0]
MODULE_IDENTIFIER = f"{MANIFEST_KIND}.{filename}"
[docs]
class SAMLLMClientStatus(AbstractSAMStatusBase):
"""Smarter API LLMClient Manifest - Status class."""
class_identifier: ClassVar[str] = MODULE_IDENTIFIER
accountNumber: str = Field(
description=f"{class_identifier}.account_number: The account owner of this {MANIFEST_KIND}. Read only.",
)
username: str = Field(
description=f"{class_identifier}.username: The Smarter user who created this {MANIFEST_KIND}. Read only.",
)
deployed: bool = Field(
description=f"{class_identifier}.deployed: Whether this {MANIFEST_KIND} is currently deployed. Read only.",
)
defaultHost: str = Field(
description=f"{class_identifier}.defaultHost: The default host URL for this {MANIFEST_KIND}. Read only.",
)
defaultUrl: str = Field(
description=f"{class_identifier}.defaultUrl: The default URL for this {MANIFEST_KIND}. Read only.",
)
customUrl: Optional[str] = Field(
description=f"{class_identifier}.customUrl: The custom URL for this {MANIFEST_KIND}. Read only.",
)
sandboxHost: str = Field(
description=f"{class_identifier}.sandboxHost: The sandbox host URL for this {MANIFEST_KIND}. Read only.",
)
sandboxUrl: str = Field(
description=f"{class_identifier}.sandboxUrl: The sandbox URL for this {MANIFEST_KIND}. Read only.",
)
hostname: str = Field(
description=f"{class_identifier}.hostname: The hostname for this {MANIFEST_KIND}. Read only.",
)
url: str = Field(
description=f"{class_identifier}.url: The URL for this {MANIFEST_KIND}. Read only.",
)
urlLLMClient: str = Field(
description=f"{class_identifier}.urlLLMClient: The llmclient URL for this {MANIFEST_KIND}. Read only.",
)
urlChatapp: str = Field(
description=f"{class_identifier}.urlChatapp: The chatapp URL for this {MANIFEST_KIND}. Read only.",
)
urlChatConfig: str = Field(
description=f"{class_identifier}.urlChatConfig: The prompt config URL for this {MANIFEST_KIND}. Read only.",
)
dnsVerificationStatus: str = Field(
description=f"{class_identifier}.dnsVerificationStatus: The DNS verification status for this {MANIFEST_KIND}. Read only.",
)