rebuild(stage-10): deliver mentor and unified llm streaming
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class MentorPreferencesInput(BaseModel):
|
||||
order: list[str] = Field(max_length=200)
|
||||
pinned: list[str] = Field(max_length=200)
|
||||
|
||||
|
||||
class MentorChatInput(BaseModel):
|
||||
mentor_id: str = Field(min_length=1, max_length=100)
|
||||
trade_date: str = Field(min_length=10, max_length=10)
|
||||
question: str = Field(min_length=1, max_length=2000)
|
||||
|
||||
|
||||
class MessageResponse(BaseModel):
|
||||
message: str
|
||||
|
||||
|
||||
class CountResponse(BaseModel):
|
||||
deleted: int
|
||||
Reference in New Issue
Block a user