use-ai-gateway-provider

bởi vercel

Use the Vercel AI Gateway provider for PHP (the `vercel-labs/ai-gateway-provider` Composer package and the Vercel AI Gateway Provider WordPress plugin) to call…

npx skills add https://github.com/vercel-labs/ai-gateway-provider-php --skill use-ai-gateway-provider

Vercel AI Gateway provider for PHP

A provider for the WordPress/php-ai-client SDK that routes generative AI requests through the Vercel AI Gateway. It ships both as a Composer package and as a WordPress plugin.

Read the bundled docs before writing any code

The package bundles usage documentation that matches the installed version. Read the file for the context you are working in — do not write code against this provider without it.

Scenario A: If in the context of a WordPress project

Read the docs at wp-content/plugins/vercel-ai-gateway-provider/docs/wordpress.md.

If more specific detail knowledge about low-level provider behavior is needed that the docs do not cover, you may inspect the source code in wp-content/plugins/vercel-ai-gateway-provider/src/.

If the plugin is not installed yet, install the Vercel AI Gateway Provider plugin.

Scenario B: If in the context of a non-WordPress PHP project

Read the docs at vendor/vercel-labs/ai-gateway-provider/docs/php.md.

If more specific detail knowledge about low-level provider behavior is needed that the docs do not cover, you may inspect the source code in vendor/vercel-labs/ai-gateway-provider/src/.

If the package is not installed yet, run composer require vercel-labs/ai-gateway-provider, then read the docs.

Do not answer from memory

This provider and the underlying SDK are young and change between releases, and available models change constantly. Whatever you recall about entry points, method names, or model IDs is likely wrong or stale. Ground every API call in the bundled docs, and in the package source when the docs do not cover it.

If neither the docs nor the source support an answer, say so instead of guessing.

Thêm skills từ vercel

vercel
vercel
API REST Vercel được mô phỏng để phát triển và kiểm thử cục bộ. Sử dụng khi người dùng cần tương tác với các điểm cuối API Vercel tại chỗ, kiểm thử tích hợp Vercel,…
cron-jobs
vercel
Cấu hình và các phương pháp tốt nhất cho Vercel Cron Jobs. Sử dụng khi thêm, chỉnh sửa hoặc gỡ lỗi các tác vụ đã lên lịch trong vercel.json.
codegen
vercel
Các tiện ích tạo mã cho json-render. Sử dụng khi tạo mã từ đặc tả giao diện người dùng, xây dựng trình xuất mã tùy chỉnh, duyệt qua các đặc tả hoặc tuần tự hóa các thuộc tính cho…
next-best-practice
vercel
Các phương pháp hay nhất của Next.js - quy ước tệp, ranh giới RSC, mẫu dữ liệu, API bất đồng bộ, siêu dữ liệu, xử lý lỗi, trình xử lý tuyến đường, tối ưu hóa hình ảnh/phông chữ,…
benchmark-sandbox
vercel
Chạy các kịch bản đánh giá vercel-plugin trong Vercel Sandboxes thay vì các bảng WezTerm cục bộ. Cung cấp các microVM tạm thời với Claude Code và plugin được cài đặt sẵn,…
write-guide
vercel
Tạo một hướng dẫn kỹ thuật dạy một trường hợp sử dụng thực tế thông qua các ví dụ tiến dần. Các khái niệm chỉ được giới thiệu khi người đọc cần đến chúng.
benchmark-testing
vercel
Tạo và khởi chạy các dự án kiểm thử benchmark để thực thi việc tiêm kỹ năng vercel-plugin qua các kịch bản thực tế. Thiết lập các thư mục độc lập, cài đặt…
ai-gateway
vercel
Hướng