mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 22:03:30 +03:00
copy updated
This commit is contained in:
parent
bd365fd08a
commit
2b131097ce
@ -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">
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user