MCPcopy
hub / github.com/smallfawn/QLScriptPublic / ai_agent_chat

Method ai_agent_chat

tianyi.py:376–385  ·  view source on GitHub ↗
(self, mobile: str, content: str, agent_id: str = "", from_act: str = "cny", session_id: str = "")

Source from the content-addressed store, hash-verified

374 return self.request_encrypted("/hapi/diy_video/au/template_make_add_v2", params)
375
376 def ai_agent_chat(self, mobile: str, content: str, agent_id: str = "", from_act: str = "cny", session_id: str = "") -> dict:
377 params = {
378 "apiName": "diy/AiAgentChatApi/aiAgentChat",
379 "content": content,
380 "mobile": mobile,
381 "agentId": agent_id,
382 "fromAct": from_act,
383 "sessionId": session_id
384 }
385 return self.request_encrypted("/hapi/en/api", params)
386
387 def control_confirm_submit(self, mobile: str, session_id: str, confirm_id: int, text_list: list,
388 agent_id: str = "text_to_image", from_act: str = "cny") -> dict:

Callers 1

process_new_year_lotteryFunction · 0.95

Calls 1

request_encryptedMethod · 0.95

Tested by

no test coverage detected