Files
sub2api-cn-relay-manager/packs/openai-cn-pack/README.md
phamnazage-jpg 71cbaf5fa6 test(project): achieve ≥70% package coverage across all internal packages
- store/sqlite: 75.4% (repos + db coverage)
- host/sub2api: 80.8% (httptest mock server, pure function tests)
- app: 74.2% (handler error paths, NewActionSet closures)
- pack: 72.4%
- provision: 75.2%
- access: 77.3%
- config: 94.7% (lookup mock tests)

All tests pass: build, vet, race, coverage gates.
2026-05-15 19:26:25 +08:00

19 lines
579 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# openai-cn-pack
这是 `sub2api-cn-relay-manager` 的最小模型包样例。
它不是宿主原生插件,而是一个可被控制面读取的 `model_pack`,用于描述国产模型 provider 的默认接入模板、默认模型映射、默认套餐和导入约束。
当前目录现在同时包含:
- 真实可校验包:`pack.json``providers/deepseek.json``checksums.txt`
- 协议样例:`pack.json.example``providers/deepseek.json.example`
后续真实交付时,可以扩展更多 provider
- `kimi.json`
- `qwen.json`
- `glm.json`
- `minimax.json`