MCPcopy Create free account
hub / github.com/nashsu/FreeAskInternet / QueryRequest

Class QueryRequest

server.py:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67class 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
76class ChatCompletionRequest(BaseModel):
77 model: str

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected