feat(api): api update

This commit is contained in:
stainless-app[bot] 2025-07-18 17:46:15 +00:00
parent 002bf2d57f
commit 5f542aa68e
5 changed files with 6 additions and 22 deletions

View file

@ -24,7 +24,6 @@ from .text_part import TextPart as TextPart
from .tool_part import ToolPart as ToolPart
from .mode_config import ModeConfig as ModeConfig
from .user_message import UserMessage as UserMessage
from .layout_config import LayoutConfig as LayoutConfig
from .snapshot_part import SnapshotPart as SnapshotPart
from .app_log_params import AppLogParams as AppLogParams
from .keybinds_config import KeybindsConfig as KeybindsConfig

View file

@ -9,7 +9,6 @@ from .._utils import PropertyInfo
from .._models import BaseModel
from .log_level import LogLevel
from .mode_config import ModeConfig
from .layout_config import LayoutConfig
from .keybinds_config import KeybindsConfig
from .mcp_local_config import McpLocalConfig
from .mcp_remote_config import McpRemoteConfig
@ -144,8 +143,8 @@ class Config(BaseModel):
keybinds: Optional[KeybindsConfig] = None
"""Custom keybind configurations"""
layout: Optional[LayoutConfig] = None
"""Layout to use for the TUI"""
layout: Optional[Literal["auto", "stretch"]] = None
"""@deprecated Always uses stretch layout."""
log_level: Optional[LogLevel] = None
"""Minimum log level to write to log files"""

View file

@ -1,7 +0,0 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal, TypeAlias
__all__ = ["LayoutConfig"]
LayoutConfig: TypeAlias = Literal["auto", "stretch"]