This commit is contained in:
Xi Yan 2024-11-05 11:32:28 -08:00
parent a2ae96c520
commit f5f2936bbb
3 changed files with 4 additions and 89 deletions

View file

@ -14,6 +14,7 @@ from pydantic import BaseModel, Field
class TGIImplConfig(BaseModel):
url: str = Field(
description="The URL for the TGI endpoint (e.g. 'http://localhost:8080')",
default="http://localhost:8080",
)
api_token: Optional[str] = Field(
default=None,