Skip to content

Commit 1297f11

Browse files
Merge pull request #132 from gitkraken/Setting-Page-Update
AI setting update
2 parents 4ea330c + 759e7ec commit 1297f11

File tree

1 file changed

+79
-11
lines changed

1 file changed

+79
-11
lines changed

gitlens/gitlens-settings.md

Lines changed: 79 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,8 +1402,18 @@ Another custom example:<br>
14021402
</thead>
14031403
<tbody>
14041404
<tr>
1405-
<td><code>gitlens.ai.experimental.model</code></td>
1406-
<td>Specifies the AI model to use. Supported models include:<br>
1405+
<td><code>gitlens.ai.enabled</code></td>
1406+
<td>Specifies whether to enable GitLens' AI-powered features<br>
1407+
</td>
1408+
</tr>
1409+
<tr>
1410+
<td><code>gitlens.ai.experimental.composer.enabled</code></td>
1411+
<td>Specifies whether to enable the experimental version of the commit composer<br>
1412+
</td>
1413+
</tr>
1414+
<tr>
1415+
<td><code>gitlens.ai.model</code></td>
1416+
<td>Specifies the AI provider and model to use for GitLens' AI features. Should be formatted as <code>provider:model</code>(e.g. <code>openai:gpt-4o</code> or <code>anthropic:claude-3-5-sonnet-latest</code>, <code>gitkraken</code> for GitKraken AI provided models, or <code>vscode</code> for models provided by the VS Code extension API (e.g. Copilot)"<br>
14071417
<code>vscode</code><br>
14081418
<code>openai:gpt-4</code><br>
14091419
<code>openai:gpt-4o</code><br>
@@ -1430,21 +1440,79 @@ Another custom example:<br>
14301440
</td>
14311441
</tr>
14321442
<tr>
1433-
<td><code>gitlens.ai.experimental.vscode.model</code></td>
1434-
<td>Specifies the VS Code extension-provided AI model to use when <code>gitlens.ai.experimental.model</code> is set to <code>vscode</code>.</td>
1443+
<td><code>gitlens.ai.gitkraken.model</code></td>
1444+
<td>Specifies the AI provider and model to use for GitLens' AI features. Should be formatted as <code>provider:model</code>(e.g. <code>openai:gpt-4o</code> or <code>anthropic:claude-3-5-sonnet-latest</code>, <code>gitkraken</code> for GitKraken AI provided models, or <code>vscode</code> for models provided by the VS Code extension API (e.g. Copilot)"<br>
1445+
</td>
1446+
</tr>
1447+
<tr>
1448+
<td><code>gitlens.ai.vscode.model</code></td>
1449+
<td>Specifies the VS Code provided model to use for GitLens' AI features, formatted as <code>provider:model</code><br>
1450+
</td>
1451+
</tr>
1452+
<tr>
1453+
<td><code>gitlens.ai.ollama.url</code></td>
1454+
<td>Specifies the Ollama URL to use for access<br>
1455+
</td>
14351456
</tr>
14361457
<tr>
1437-
<td><code>gitlens.ai.experimental.generateCommitMessage.enabled</code></td>
1438-
<td>Enables GitLens’ experimental AI-powered, on-demand commit message generation.</td>
1458+
<td><code>gitlens.ai.openai.url</code></td>
1459+
<td>Specifies a custom URL to use for access to an OpenAI model.<br>
1460+
</td>
14391461
</tr>
14401462
<tr>
1441-
<td><code>gitlens.ai.experimental.openai.url</code></td>
1442-
<td>Specifies a custom Azure URL to access an OpenAI model. Format:<br>
1443-
<code>https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/chat/completions?api-version={api-version}</code></td>
1463+
<td><code>gitlens.ai.azure.url</code></td>
1464+
<td>Specifies a custom URL to use for access to an Azure OpenAI model. Azure URLs should be in the following format: https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/chat/completions?api-version={api-version}<br>
1465+
</td>
14441466
</tr>
14451467
<tr>
1446-
<td><code>gitlens.experimental.generateCommitMessagePrompt</code></td>
1447-
<td>Specifies the prompt to guide the AI on structuring or styling generated commit messages (e.g., in the style of a pirate).</td>
1468+
<td><code>gitlens.ai.openaicompatible.url</code></td>
1469+
<td>Specifies a custom URL to use for access to an OpenAI-compatible model.<br>
1470+
</td>
1471+
</tr>
1472+
<tr>
1473+
<td><code>gitlens.ai.largePromptWarningThreshold</code></td>
1474+
<td>Specifies the threshold (in tokens) for when to show a warning about the prompt being too large<br>
1475+
</td>
1476+
</tr>
1477+
<tr>
1478+
<td><code>gitlens.ai.modelOptions.temperature</code></td>
1479+
<td>Specifies the temperature, a measure of output randomness, to use for the AI model. Higher values result in more randomness, e.g. creativity, while lower values are more deterministic<br>
1480+
</td>
1481+
</tr>
1482+
<tr>
1483+
<td><code>gitlens.ai.explainChanges.customInstructions</code></td>
1484+
<td>Specifies custom instructions to provide to the AI provider when generating a summary of changes<br>
1485+
</td>
1486+
</tr>
1487+
<tr>
1488+
<td><code>gitlens.ai.generateChangelog.customInstructions</code></td>
1489+
<td>Specifies custom instructions to provide to the AI provider when generating a changelog from a set of changes<br>
1490+
</td>
1491+
</tr>
1492+
<tr>
1493+
<td><code>gitlens.ai.generateCommits.customInstructions</code></td>
1494+
<td>Specifies custom instructions to provide to the AI provider when generating commits<br>
1495+
</td>
1496+
</tr>
1497+
<tr>
1498+
<td><code>gitlens.ai.generateStashMessage.customInstruction</code></td>
1499+
<td>Specifies custom instructions to provide to the AI provider when generating a stash message<br>
1500+
</td>
1501+
</tr>
1502+
<tr>
1503+
<td><code>gitlens.ai.generateCreateCloudPatch.customInstructions</code></td>
1504+
<td>Specifies custom instructions to provide to the AI provider when generating a cloud patch title and description<br>
1505+
</td>
1506+
</tr>
1507+
<tr>
1508+
<td><code>gitlens.ai.generateCreateCodeSuggest.customInstructions</code></td>
1509+
<td>Specifies custom instructions to provide to the AI provider when generating a code suggest title and description<br>
1510+
</td>
1511+
</tr>
1512+
<tr>
1513+
<td><code>gitlens.ai.generateCreatePullRequest.customInstructions</code></td>
1514+
<td>Specifies custom instructions to provide to the AI provider when generating a pull request title and description<br>
1515+
</td>
14481516
</tr>
14491517
</tbody>
14501518
</table>

0 commit comments

Comments
 (0)