You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
edits: allow oai config and byok api config for edit tools (#1161)
* edits: allow oai config and byok api config for edit tools
Adds on to #1154 and builds on microsoft/vscode#268506
Allows 3p providers to configure preferred edit tools for endpoints
(once the API is finalized) and uses that to allow the edit tools to
be configured in `github.copilot.chat.customOAIModels` for power users.
* comment
* fix gdpr comment
Copy file name to clipboardExpand all lines: package.json
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2997,6 +2997,19 @@
2997
2997
"description": "Whether the model requires an API key for authentication",
2998
2998
"default": true
2999
2999
},
3000
+
"editTools": {
3001
+
"type": "array",
3002
+
"description": "List of edit tools supported by the model. If this is not configured, the editor will try multiple edit tools and pick the best one.\n\n- 'find-replace': Find and replace text in a document.\n- 'multi-find-replace': Find and replace text in a document.\n- 'apply-patch': A file-oriented diff format used by some OpenAI models\n- 'code-rewrite': A general but slower editing tool that allows the model to rewrite and code snippet and provide only the replacement to the editor.",
"state": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "comment": "State the model transitioned to", "isMeasurement": true }
0 commit comments