ld50 commited on
Commit
5e551c9
·
1 Parent(s): c151544

Add GitHub Copilot provider and update installation docs

Browse files

Include Copilot-specific authentication and limitations notes in docs.

conf/model_providers.yaml CHANGED
@@ -30,6 +30,13 @@ chat:
30
  deepseek:
31
  name: DeepSeek
32
  litellm_provider: deepseek
 
 
 
 
 
 
 
33
  google:
34
  name: Google
35
  litellm_provider: gemini
 
30
  deepseek:
31
  name: DeepSeek
32
  litellm_provider: deepseek
33
+ github_copilot:
34
+ name: GitHub Copilot
35
+ litellm_provider: github_copilot
36
+ kwargs:
37
+ extra_headers:
38
+ "Editor-Version": "vscode/1.85.1"
39
+ "Copilot-Integration-Id": "vscode-chat"
40
  google:
41
  name: Google
42
  litellm_provider: gemini
docs/installation.md CHANGED
@@ -186,6 +186,14 @@ Agent Zero provides a comprehensive settings interface to customize various aspe
186
  - Configure API keys for various service providers directly within the Web UI
187
  - Click `Save` to confirm your settings
188
 
 
 
 
 
 
 
 
 
189
  ### Authentication
190
  - **UI Login:** Set username for web interface access
191
  - **UI Password:** Configure password for web interface security
 
186
  - Configure API keys for various service providers directly within the Web UI
187
  - Click `Save` to confirm your settings
188
 
189
+ > [!CAUTION]
190
+ > **GitHub Copilot Provider:** When using the GitHub Copilot provider, after selecting the model and entering your first prompt, the OAuth login procedure will begin. You'll find the authentication code and link in the output logs. Complete the authentication process by following the provided link and entering the code, then you may continue using Agent Zero.
191
+
192
+ > [!NOTE]
193
+ > **GitHub Copilot Limitations:** GitHub Copilot models typically have smaller rate limits and context windows compared to models hosted by other providers like OpenAI, Anthropic, or Azure. Consider this when working with large conversations or high-frequency requests.
194
+
195
+
196
+
197
  ### Authentication
198
  - **UI Login:** Set username for web interface access
199
  - **UI Password:** Configure password for web interface security