copy updated

This commit is contained in:
Pavel Laptev 2024-05-31 04:59:08 +02:00 committed by Caleb Owens
parent bd365fd08a
commit 2b131097ce
2 changed files with 13 additions and 3 deletions

View File

@ -21,7 +21,6 @@
const aiService = getContext(AIService);
const userService = getContext(UserService);
const user = userService.user;
let initialized = false;
let modelKind: ModelKind | undefined;
@ -329,8 +328,11 @@
<Section>
<svelte:fragment slot="title">Custom AI prompts</svelte:fragment>
<svelte:fragment slot="description">
GitButler's AI assistant creates commit messages and branch names. Use default prompts or make
your own. Prompts are shared across projects and can be assigned in project settings.
GitButler's AI assistant generates commit messages and branch names. Use default prompts or
create your own. Assign prompts in the <button
class="link"
on:click={() => console.log('got to project settings')}>project settings</button
>.
</svelte:fragment>
<div class="prompt-groups">

View File

@ -107,6 +107,14 @@ pre {
}
}
.link {
text-decoration: underline;
&:hover {
text-decoration: none;
}
}
/**
* Prevents elements within drop-zones from firing mouse events, making
* it much easier to manage in/out/over/leave events since they fire less