add-provider

仓库创建 2025年2月14日最近提交 8 小时前SkillHot 收录 20 天前
▸ 精选理由

为开发者自动生成与仓库结构一致的 provider 集成改动,适合扩展模型源。

▸ 风险提示

需要仓库写权限,可能引入错误或泄露凭证,操作需审慎。

这个 Skill 做什么

在 DeepChat 仓库中添加或修改 LLM 提供者集成与适配器代码。

在 DeepChat 仓库里按项目约定加入或修改 LLM 提供者的集成代码,包含 provider 配置、展示信息、认证流程和模型映射等实现。用在团队要接入新 API、调整运行时行为或实现特殊适配器时,需要以代码变更提交并经审查。特别强调把展示配置与运行时行为分离并优先使用通用适配,避免随意写特殊分支。

▸ 展开 SKILL.md 英文原文

Add a DeepChat LLM provider through explicit reviewed source changes. Use when a developer asks Codex to add a provider, provider profile, upstream provider config, model catalog mapping, provider auth behavior, or a special provider adapter in this repository.

开发编程DeepChat集成提供者代码修改通用
6.2k
Stars
707
Forks
23
仓库内 Skill
+70
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ThinkInAIXYZ/deepchat/dev/.agents/skills/add-provider/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ThinkInAIXYZ/deepchat/dev/.agents/skills/add-provider/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Add Provider

## Goal

Generate DeepChat provider integration changes against the current provider architecture. Keep
provider display data in `PublicProviderConf`, map runtime behavior to known transports, and use a
special provider implementation only when the API behavior requires one.

## Required Inputs

Collect or derive these before editing source:

- Provider ID in kebab case.
- Display name.
- API type or known transport family.
- Default base URL.
- Auth type: API key, no auth, OAuth, profile credentials, or provider-specific credential.
- Model metadata source: built-in config, provider-db, config-db, live model fetch, or custom only.
- Test model ID and check strategy.
- Offici
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有