For AI agents: the complete documentation index is available at https://docs.reelway.ai/llms.txt, the full documentation bundle is available at https://docs.reelway.ai/llms-full.txt, and this page is available as Markdown at https://docs.reelway.ai/sdk/intelligence-client.md.

Intelligence 客户端

Reelway 的 Intelligence 能力不发布独立 SDK:推理面与 OpenAI 同形,OpenAI 官方 SDK 就是 Intelligence 客户端。

import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.reelway.ai/v1', apiKey: process.env.REELWAY_API_KEY });

对话、流式与函数工具的用法见OpenAI SDK 兼容性;服务端持久运行经 REST 直接调用 POST /v1/chat/runs,见持久对话运行。