Skip to content

补充更多境外大模型厂商/SDK 的「数据出境」识别 #4

Description

@jnMetaCode

让「数据出境」检测覆盖更多境外大模型厂商与 SDK。

改这里src/rules/overseas-llm.ts

  • 端点:OVERSEAS_LLM_ENDPOINTS(域名 → 厂商)
  • SDK 依赖:OVERSEAS_LLM_PACKAGES(包名 → 厂商,覆盖 npm/pip/go)

可补充:Replicate、AI21、Fireworks、DeepInfra、OpenRouter(已有) 等的端点/SDK 包名。

验收:在 bench/scan-bench.ts 加一条对应正例并 npm run bench:scan 通过;npm test 全绿。
适合第一次贡献。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions