AI Model Wechat

Use this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, wx.cloud apps). Covers generateText and streamText with callbacks (onText, onEvent, onFinish); streamText needs a data wrapper, generateText returns the raw response. Models via wx.cloud.extend.AI.createModel with groups hunyuan-exp (小程序成长计划), cloudbase (main managed), or custom-*; model id goes in the data wrapper `model` field. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (use ai-model-nodejs).

tencentcloudbase bb6d353 25.4 KB Updated

File contents

tencentcloudbase/cloudbase-plugin/tree/main/skills/ai-model-wechat commit bb6d3535df

Frequently asked questions

npx skillmds@latest add tencentcloudbase/ai-model-wechat