跳到正文
GitHub Changelog· Allison·· 4 小时前AI 评分44

GitHub Copilot 面向企业、组织和团队推出模型策略 API

Copilot model policy API for enterprise, orgs, and teams

AI 导读

GitHub Copilot 的模型策略 REST API 现已正式可用,支持在企业、企业团队、企业应用和组织四个层级通过 GET 与 PATCH 端点查询和更新模型策略。企业策略可将模型控制权下放给组织,或以企业团队模式交给团队和应用,便于统一管理 Copilot 模型可用性。

正文

You can now use the REST API to retrieve and update Copilot model policies for enterprises, enterprise teams, enterprise apps, and organizations.

What’s new

GET and PATCH endpoints are now generally available for model policies at four levels:

  • Enterprise: /enterprises/{enterprise}/copilot/model-policies
  • Enterprise teams: /enterprises/{enterprise}/teams/{team_slug}/copilot/model-policies
  • Enterprise apps: /enterprises/{enterprise}/copilot/apps/model-policies
  • Organization: /orgs/{org}/copilot/model-policies

Together, these endpoints make it easier to manage Copilot model availability across your enterprise. Enterprise policies can delegate model control to organizations in organization mode, or to teams and apps in enterprise teams mode. Reference our documentation on managing availability of models in your enterprise and our REST API documentation to get started.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

Back to top

来源:GitHub Changelog · github.blog