fix(brains): default brains to private because front doesn't enforce

This commit is contained in:
Stan Girard 2024-01-21 15:40:42 -08:00
parent 35740ece3d
commit 3e62ddeb91

View File

@ -25,7 +25,7 @@ class CreateApiBrainDefinition(BaseModel, extra=Extra.forbid):
class CreateBrainProperties(BaseModel, extra=Extra.forbid): class CreateBrainProperties(BaseModel, extra=Extra.forbid):
name: Optional[str] = "Default brain" name: Optional[str] = "Default brain"
description: str = "This is a description" description: str = "This is a description"
status: Optional[str] = "public" status: Optional[str] = "private"
model: Optional[str] model: Optional[str]
temperature: Optional[float] = 0.0 temperature: Optional[float] = 0.0
max_tokens: Optional[int] = 256 max_tokens: Optional[int] = 256