mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-12-16 09:56:16 +00:00
feat: [#49] Improved error display
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from .base import HealthResponse, VoiceResponse
|
||||
from .base import HealthResponse
|
||||
|
||||
__all__ = [
|
||||
"HealthResponse",
|
||||
"VoiceResponse",
|
||||
]
|
||||
|
||||
@@ -3,7 +3,3 @@ import pydantic
|
||||
|
||||
class HealthResponse(pydantic.BaseModel):
|
||||
status: str = pydantic.Field(default=..., examples=["healthy"], description="Схема доступности сервиса")
|
||||
|
||||
|
||||
class VoiceResponse(pydantic.BaseModel):
|
||||
voice: bytes = pydantic.Field(default=..., description="Голосовой ответ")
|
||||
|
||||
Reference in New Issue
Block a user