AI Agent 推理调用
原名:agent-platform-inference
调用 Google Cloud Agent Engine 的流式、异步和会话推理接口。
中文 Skills 技能说明
适合已部署 Agent Engine、需要测试或接入推理能力的开发者。先确认项目、区域、资源名称和鉴权,再用不含敏感信息的最小请求验证;真实客户数据、批量调用和生产流量切换必须经过权限、费用及数据合规检查。
上游能力依据
上游原始适用说明:Connects to and performs inference with Google Cloud Agent Platform GenAI models, including First-Party Gemini models and Third-Party OpenMaaS models (Llama, DeepSeek, Qwen, etc.). Use when you need to generate code for calling Gemini or OpenMaaS models, authenticate with GenAI SDK, OpenAI SDK, or legacy Agent Platform SDK, configure base URLs and global/regional endpoints, or troubleshoot 429 Resource Exhausted (DSQ), 400 User Validation, or 404 Not Found errors. Don't use for deploying models to endpoints or for running model evaluations.
上游 SKILL.md 主要章节(保留原文标题):
- Safety & Confirmation Tiers (CRITICAL)
- Phase 0: Environment Setup
- Workflow Decision Tree
- 1. Gemini Models
- Choosing the Right SDK
- Installation
- Python Example (GenAI SDK - Preferred)
- Alternative: OpenAI SDK (Chat Completions)
- Legacy: Agent Platform SDK
- 2. OpenMaaS Models (Llama, DeepSeek, Qwen, etc.)
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- 中文翻译
- CEOFans翻译
- 许可证
- Apache-2.0
- 上游来源
- https://github.com/google/skills/tree/8db47666a1307cb838f056ac03193f85c42e2c69/skills/cloud/agent-platform-inference
适用范围
平台:linux、macos、windows;标签:Google Cloud、Agent、Platform、Inference
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。