mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
fix: schema
This commit is contained in:
parent
2565944051
commit
00e300d386
1 changed files with 7 additions and 0 deletions
|
|
@ -70,3 +70,10 @@ class DeviceAgentResolveResponse(BaseModel):
|
|||
match_type: str = Field(..., description="How agent was matched: 'wake_word' or 'default'")
|
||||
agent_config: AgentConfigResponse
|
||||
|
||||
|
||||
class DefaultAgentResponse(BaseModel):
|
||||
"""Response for device's default agent"""
|
||||
device_id: str
|
||||
agent: AgentConfigResponse
|
||||
is_default: bool
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue