mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-22 00:32:49 +00:00
11 lines
356 B
Python
11 lines
356 B
Python
"""Request schema for service endpoints."""
|
|
|
|
from pydantic import BaseModel, ConfigDict, Field
|
|
|
|
|
|
class Request(BaseModel):
|
|
"""Incoming service request; extra fields are allowed for endpoint-specific payloads."""
|
|
|
|
model_config = ConfigDict(extra="allow")
|
|
|
|
metadata: dict = Field(default_factory=dict, description="Request metadata for context")
|