style: format code for improved readability and consistency across multiple files
This commit is contained in:
@@ -8,8 +8,8 @@ from typing import Any
|
||||
from uuid import UUID
|
||||
|
||||
from pydantic import Field, field_validator
|
||||
from sqlmodel._compat import SQLModelConfig
|
||||
from sqlmodel import SQLModel
|
||||
from sqlmodel._compat import SQLModelConfig
|
||||
|
||||
from app.schemas.common import NonEmptyStr
|
||||
|
||||
|
||||
@@ -31,7 +31,10 @@ class LLMErrorResponse(SQLModel):
|
||||
"Error payload. Agents should rely on `code` when present and default "
|
||||
"to `message` for fallback display."
|
||||
),
|
||||
examples=["Invalid payload for lead escalation.", {"code": "not_found", "message": "Agent not found."}],
|
||||
examples=[
|
||||
"Invalid payload for lead escalation.",
|
||||
{"code": "not_found", "message": "Agent not found."},
|
||||
],
|
||||
)
|
||||
request_id: str | None = Field(
|
||||
default=None,
|
||||
|
||||
@@ -6,8 +6,8 @@ from typing import Literal
|
||||
from uuid import UUID
|
||||
|
||||
from pydantic import Field
|
||||
from sqlmodel._compat import SQLModelConfig
|
||||
from sqlmodel import SQLModel
|
||||
from sqlmodel._compat import SQLModelConfig
|
||||
|
||||
from app.schemas.common import NonEmptyStr
|
||||
|
||||
|
||||
@@ -13,4 +13,3 @@ class HealthStatusResponse(SQLModel):
|
||||
description="Indicates whether the probe check succeeded.",
|
||||
examples=[True],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user