| 65 | |
| 66 | |
| 67 | class QueryRequest(BaseModel): |
| 68 | query:str |
| 69 | model: str |
| 70 | ask_type: Literal["search", "llm"] |
| 71 | llm_auth_token: Optional[str] = "CUSTOM" |
| 72 | llm_base_url: Optional[str] = "" |
| 73 | using_custom_llm:Optional[bool] = False |
| 74 | lang:Optional[str] = "zh-CN" |
| 75 | |
| 76 | class ChatCompletionRequest(BaseModel): |
| 77 | model: str |
nothing calls this directly
no outgoing calls
no test coverage detected