@ -37,7 +37,7 @@ app = FastAPI(lifespan=lifespan)
class Item(BaseModel):
prompt: str = "你好"
history: list[tuple[str, str]] = [[]]
history: list[tuple[str, str]] = []
max_length: int = 2048
top_p: float = 0.7
temperature: float = 0.95