Loading...
Loading...
Use this skill when adding or changing AI chat, text generation, reasoning, tools, model selection, or structured JSON output in a Customware-generated React Router and Hono app. It covers the server-only Customware AI Gateway, AI SDK with the OpenRouter adapter, AI Elements UI, supported model choices, and mandatory live model and structured-output checks.
npx skill4agent add customware-ai/skills customware-ai.env.env.*node --env-file=.env ....envreferences/components/CUSTOMWARE_AI_GATEWAY_KEYVITE_*.env.env.*catheadtailsedawkrggreplsstat.envnode --env-file=.env ...printenvhttps://app.customware.ai/api/orgs/${orgId}/projects/${projectId}/ai/v1orgIdprojectId@openrouter/ai-sdk-providergoogle/gemini-3-flash-previewhishared/contracts/server/"use client"pnpm dlx shadcn@latest add ... --yesai@ai-sdk/react@openrouter/ai-sdk-providerzodCUSTOMWARE_AI_GATEWAY_KEYHydrateFallbackscripts/install-ai-elements.mjsuseChatgenerateTextOutput.objecttool({ inputSchema, execute })stopWhen: stepCountIs(5)PromptInputSubmitsubmittedstreamingReact.lazystreamTextgenerateTextDefaultChatTransportuseChatnode_modules/.d.ts.js.mjsai@ai-sdk/react@openrouter/ai-sdk-providerassets/ai-chat/assets/sql-tool-chat/assets/generative-ui-chat/assets/email-parser/customware-support-widgetCUSTOMWARE_AI_GATEWAY_KEY