Die*_*ego 5 vscode-extensions github-copilot
我使用 VS Code 的官方副驾驶扩展,我在设置选项中找到了高级设置,但我没有找到可以在该部分使用的所有可能选项的任何文档:
"github.copilot.advanced": {
}
Run Code Online (Sandbox Code Playgroud)
有人知道在哪里可以找到它吗?
在这里找到这个github-copilot-explorer
"secret_key": A string field for entering a secret API key. This key could be used for identification and authorization purposes when connecting to GitHub Copilot. This field does not have a default value.
"length": An integer field specifying the maximum length of generated code in tokens. A 'token' in this case would be an individual component of the code, such as a keyword, identifier, operator, or punctuation mark. The default value is 500 tokens.
"temperature": A string field for adjusting the 'temperature' parameter in the AI's sampling function, which affects the randomness of the AI's output. Lower values make the output more deterministic, while higher values increase randomness. This field does not have a default value and ranges from 0.0 to 1.0.
"top_p": A numerical field setting the 'top_p' or nucleus sampling parameter, which specifies the cumulative probability threshold for token selection. By default, this value is set to 1, meaning that all tokens with non-zero probability could be considered for generation.
"stops": An object field that allows setting per-language stop sequences. These could be sequences of tokens that tell the AI to stop generating further code for a specific language.
"indentationMode": An object field for controlling indentation block termination on a per-language basis. For instance, you could set "python": false to disable automatic block termination for Python code.
"inlineSuggestCount": An integer field that determines the number of inline suggestions to fetch. By default, GitHub Copilot would fetch 3 inline suggestions.
"listCount": An integer field that sets the number of solutions to display in the GitHub Copilot interface. The default value is 10 solutions.
"debug.showScores": A boolean field controlling whether to show scores in the sorted solutions. By default, this feature is turned off.
"debug.overrideEngine": A string field for specifying an alternate engine name. This could be used for testing or debugging purposes and does not have a default value.
"debug.overrideProxyUrl" and "debug.testOverrideProxyUrl": These string fields allow you to specify alternate GitHub authentication proxy URLs. The former is for general use, and the latter is specifically for running tests. Both fields do not have default values.
"debug.filterLogCategories": An array field for specifying which log categories to display. If the array is empty, all log categories will be displayed.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1501 次 |
| 最近记录: |