mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
feat(workspaces): return llm_setup on workspace create
This commit is contained in:
parent
ff676519ea
commit
561bc76a9a
2 changed files with 11 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ from datetime import datetime
|
|||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
from .base import IDModel, TimestampModel
|
||||
from .model_connections import LlmSetupStatusRead
|
||||
|
||||
|
||||
class WorkspaceBase(BaseModel):
|
||||
|
|
@ -35,6 +36,9 @@ class WorkspaceRead(WorkspaceBase, IDModel, TimestampModel):
|
|||
api_access_enabled: bool = False
|
||||
qna_custom_instructions: str | None = None
|
||||
shared_memory_md: str | None = None
|
||||
# Populated only by create_workspace so the client can route straight to
|
||||
# onboarding vs. new-chat on the first hop. Null everywhere else.
|
||||
llm_setup: LlmSetupStatusRead | None = None
|
||||
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue