mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-08 16:02:20 +02:00
Squash Odysseus development history
This commit is contained in:
@@ -64,6 +64,10 @@ class PresetUpdateRequest(BaseModel):
|
||||
True,
|
||||
description="Whether this character is active"
|
||||
)
|
||||
show_persona_name: bool = Field(
|
||||
True,
|
||||
description="Whether to show the persona name in the chat UI"
|
||||
)
|
||||
temperature: float = Field(
|
||||
1.0,
|
||||
ge=0.0,
|
||||
@@ -91,6 +95,22 @@ class PresetUpdateRequest(BaseModel):
|
||||
max_length=5000,
|
||||
description="Text to append to each outgoing user message"
|
||||
)
|
||||
thinking_mode: str = Field(
|
||||
"",
|
||||
pattern="^(|on|off)$",
|
||||
description="Thinking override: empty uses the model default"
|
||||
)
|
||||
persona_memory: str = Field(
|
||||
"",
|
||||
max_length=6000,
|
||||
description="Auto-maintained continuity notes for this persona"
|
||||
)
|
||||
persona_memory_schema: str = Field(
|
||||
"general",
|
||||
max_length=40,
|
||||
pattern="^(general|health)$",
|
||||
description="Schema used by persona memory extraction"
|
||||
)
|
||||
|
||||
|
||||
class DirectoryRequest(BaseModel):
|
||||
@@ -126,6 +146,7 @@ class SessionResponse(BaseModel):
|
||||
model: str = Field(..., description="Model being used")
|
||||
rag: bool = Field(default=False, description="RAG enabled")
|
||||
archived: bool = Field(default=False, description="Whether session is archived")
|
||||
cwd: Optional[str] = Field(default=None, description="Persisted workspace cwd")
|
||||
|
||||
|
||||
class MemoryResponse(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user