mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:50:42 +00:00
Add GitHub Copilot as a memory search embedding provider so users with Copilot subscriptions can use embeddings without a separate API key. - Extract resolveFirstGithubToken to shared auth.ts for reuse - Add MemoryEmbeddingProviderAdapter with dynamic model discovery via the Copilot /models endpoint, auto-selecting the best available embedding model (prefers text-embedding-3-small) - Register the provider at auto-selection priority 15 (between local and OpenAI) and declare the memoryEmbeddingProviders contract in the plugin manifest - Match models by ID pattern when supported_endpoints is empty, as the Copilot API lists embedding models without declaring their endpoint - Add docs for memory search provider tables, config reference, and the GitHub Copilot provider page
8.2 KiB
8.2 KiB