Add supply and privacy checks to the provider listing process, and audit existing providers
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- markdown, typescript, yaml
- Lĩnh vực
- devtools, documentation, security
Hướng nghiên cứu
Start with the three template files named in the issue: .github/DISCUSSION_TEMPLATE/providers.yml, .github/pull_request_template.md and CONTRIBUTING.md, then list the providers in packages/types/src/providers/. Done means the three new questions and the recorded-stream request are in the templates, the checks section is in CONTRIBUTING, and the audit table is posted as a comment. Expect the provider audit to need maintainer input on scope.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The provider listing Discussion template asks five optional questions. They do not cover the checks that the review of PR #2637 (Infer) needed. Reviewers had to find the missing facts by reading the vendor pages.
The gaps are:
- The template asks if the operator resells access. It does not ask how the operator gets access. Anthropic Commercial Terms section D.4 do not allow resale unless Anthropic approves. Anthropic Claude Code docs do not allow routing requests through Free, Pro, Max or Ultra plan credentials for other users.
- The template does not ask if a gateway or subprocessor sits between the operator and the model lab. A "no storage" claim by the operator does not cover its subprocessors.
- The template does not ask what happens to prompts in the default privacy mode. It does not ask if the service rejects a request or uses a weaker mode when a supplier cannot meet a requested mode.
- The PR template does not ask the author to show a recorded stream. Handlers that read cost or usage from stream chunks depend on the real chunk layout. Some OpenAI-compatible proxies differ from the OpenAI layout.
- No document says which checks apply to a provider that was listed before this template existed.
Proposed change
- Update
.github/DISCUSSION_TEMPLATE/providers.yml. Keep all questions optional and keep the forum tone. Add these questions:- How does the operator get access to each model route? Does each route use a first-party, reseller, partner or cloud-marketplace agreement? Does any route use subscription or OAuth accounts?
- Does any gateway provider or subprocessor handle prompts? List each one, or its category and location. Do no-retention and no-training terms bind it?
- What can the operator or a supplier keep or train on in the default privacy mode? If a request asks for a stricter mode and a supplier cannot support it, does the service reject the request?
- Update
.github/pull_request_template.md. For a new provider PR, ask for one recorded streaming response. It must show the finish chunk and the usage chunk, if the handler reads cost or usage from chunks. - Add a short "Provider listing checks" section to
CONTRIBUTING.md. State the checks, the sources below, and that a listing is not an endorsement.
Audit of existing providers
- Make a list of every provider in
packages/types/src/providers/. - Sort each provider into one group:
- First-party API of a model lab.
- Cloud platform (for example Bedrock or Vertex).
- Gateway or reseller that serves models from other labs.
- Local runtime (for example Ollama or LM Studio).
- Subscription or OAuth login (for example the Codex, Qwen Code and Kimi Code providers).
- For each gateway or reseller, record the answers to the three new questions. Use public pages only. Write "not published" when a page gives no answer.
- For each subscription or OAuth provider, check the current terms of the vendor. Record if third-party tools may use the login.
- For each provider that reads cost or usage from stream chunks, check that a test uses a real recorded chunk layout.
- Put the results in a table in a comment on this issue. Use one row for each provider and one column for each check.
- Fix each finding under this issue. Use one PR for each fix and link each PR here. Do not open separate follow-up issues.
Sources
- Anthropic Commercial Terms, section D.4: https://www.anthropic.com/legal/commercial-terms
- Claude Code legal and compliance, "Authentication and credential use": https://code.claude.com/docs/en/legal-and-compliance
- OWASP LLM03:2025 Supply Chain: https://genai.owasp.org/llmrisk/llm03/
- OpenRouter zero data retention and
data_collection: https://openrouter.ai/docs/guides/privacy/zero-data-retention - Merge Gateway ZDR (rejects a request instead of falling back): https://docs.merge.dev/merge-gateway/features/zero-data-retention
- Vercel AI Gateway security and compliance: https://vercel.com/docs/ai-gateway/security-and-compliance
Most gateway sources are vendor documents, not standards. Use them as starting points.
Out of scope
- Block or remove a provider. A maintainer decides that after the audit.
- Ngôn ngữ chính
- TypeScript
- Star
- 2k
- Fork
- 301
- Merge trung bình
- 3 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 103
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Zoo-Code-Org/Zoo-Code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Zoo-Code-Org/Zoo-Code#2773 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Zoo-Code-Org/Zoo-Code#2717 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Zoo-Code-Org/Zoo-Code#2515 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
fix(scripts): stryker-diff.mjs spawns the extensionless .bin shim and cannot run on WindowsCó thể đã có người làm @easonLiangWorldedtech đã nhận 15 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Zoo-Code-Org/Zoo-Code#2514 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
[BUG] search_files hides matching text on long linesCó thể đã có người làm @DananjayaNadun đã nhận 9 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Zoo-Code-Org/Zoo-Code#2496 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của Zoo-Code-Org/Zoo-Code
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
EPPIcenter/sampledb3#162 ·
-
Particle-1 modelĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
tashfeenahmed/freellmapi#2169 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🎙️ task - feat(mechanic): pave git.pull.close, a close of a superseded pull with its why on recordĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ehmpathy/rhachet-roles-ehmpathy#1576 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
vercel-labs/ui#1563 ·
Maintainer thường phản hồi trong vòng 1 ngày