rebuild(stage-10): deliver mentor and unified llm streaming

This commit is contained in:
leefer
2026-07-30 05:52:12 +08:00
parent 532f0cfc11
commit f1fa104641
62 changed files with 6880 additions and 7 deletions
+22
View File
@@ -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