Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
在 Mastra 智能体和工作流中使用 Phaseo 模型。
baseURL: "https://api.phaseo.app/v1"
npm install @mastra/core @ai-sdk/openai ai
import { Agent } from "@mastra/core/agent"; import { createOpenAI } from "@ai-sdk/openai"; const phaseo = createOpenAI({ apiKey: process.env.PHASEO_API_KEY, baseURL: "https://api.phaseo.app/v1", compatibility: "compatible", }); export const agent = new Agent({ name: "support-agent", instructions: "Answer in two short paragraphs.", model: phaseo("openai/gpt-6-astra"), });
/chat/completions
/responses
此页面对您有帮助吗?