mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-04 20:21:31 +00:00
Reuse existing requirements, WebSocket byte conversion, normalization, auth failure, diagnostic truncation, stream type, and catalog grouping owners across provider adapters and agent glue. Remove private forwarding layers while preserving provider policy and lifecycle boundaries. Reject nonfinite Vercel catalog prices and per-million conversion overflow using the existing fallback. Regression cases cover numeric and scaled overflow. Production reduction: 427 lines. Full provider and core suites, changed checks, plugin contracts, import boundaries, SDK API comparison, and zero-cycle checks validate the refactor; fresh isolated review found no actionable issue. |
||
|---|---|---|
| .. | ||
| assets | ||
| api.ts | ||
| auth-reconnect.test.ts | ||
| auth.test.ts | ||
| auth.ts | ||
| connection-bound-ids.live.test.ts | ||
| connection-bound-ids.test.ts | ||
| connection-bound-ids.ts | ||
| domain.test.ts | ||
| domain.ts | ||
| dynamic-models.ts | ||
| embeddings.test.ts | ||
| embeddings.transport.test.ts | ||
| embeddings.ts | ||
| index.test.ts | ||
| index.ts | ||
| login.test.ts | ||
| login.ts | ||
| model-metadata.ts | ||
| models.test.ts | ||
| models.ts | ||
| oauth.test.ts | ||
| oauth.ts | ||
| openclaw.plugin.json | ||
| package.json | ||
| provider-auth.contract.test.ts | ||
| provider-discovery.contract.test.ts | ||
| provider-policy-api.test.ts | ||
| provider-policy-api.ts | ||
| provider-runtime.contract.test.ts | ||
| provider.test-support.ts | ||
| README.md | ||
| register.runtime.ts | ||
| replay-policy.test.ts | ||
| replay-policy.ts | ||
| runtime-auth-error.ts | ||
| runtime-auth.ts | ||
| runtime-identity.ts | ||
| starter-model.ts | ||
| stream.test.ts | ||
| stream.ts | ||
| tsconfig.json | ||
| usage.test.ts | ||
| usage.ts | ||
GitHub Copilot
Use models available to your GitHub Copilot account in OpenClaw. This plugin provides account login, model discovery, and embeddings. Model access depends on your Copilot plan and organization policy.
Get started
Sign in with GitHub's device flow:
openclaw models auth login-github-copilot
Then browse models with openclaw models list --provider github-copilot and
select one for your agent. Enterprise accounts can use the dedicated Enterprise
login option.
This is the model provider; the separate Copilot SDK harness plugin runs native Copilot agent sessions. See the GitHub Copilot guide for both options and account requirements.