-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from zamm-dev/edit-api-calls
Add ability to edit API calls
- Loading branch information
Showing
45 changed files
with
1,504 additions
and
77 deletions.
There are no files selected for viewing
Binary file modified
BIN
+1.31 KB
(120%)
src-svelte/screenshots/baseline/screens/llm-call/individual/actions/narrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+582 Bytes
(110%)
src-svelte/screenshots/baseline/screens/llm-call/individual/actions/wide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10.6 KB
(120%)
src-svelte/screenshots/baseline/screens/llm-call/individual/narrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+70.9 KB
src-svelte/screenshots/baseline/screens/llm-call/individual/variant.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+19.5 KB
(130%)
src-svelte/screenshots/baseline/screens/llm-call/individual/wide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38.1 KB
...enshots/baseline/screens/llm-call/new/edit-continued-conversation-variant-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38.3 KB
...velte/screenshots/baseline/screens/llm-call/new/edit-continued-conversation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<script lang="ts"> | ||
import ApiCallReferenceLink from "./ApiCallReferenceLink.svelte"; | ||
import type { LlmCallReference } from "./bindings"; | ||
export let apiCall: LlmCallReference; | ||
export let selfContained = false; | ||
</script> | ||
|
||
{#if selfContained} | ||
<div class="ellipsis-container"> | ||
<ApiCallReferenceLink {apiCall} {...$$restProps} /> | ||
</div> | ||
{:else} | ||
<ApiCallReferenceLink {apiCall} {...$$restProps} /> | ||
{/if} | ||
|
||
<style> | ||
.ellipsis-container { | ||
display: flex; | ||
width: 100%; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<script lang="ts"> | ||
import type { LlmCallReference } from "$lib/bindings"; | ||
export let apiCall: LlmCallReference; | ||
export let nolink = false; | ||
</script> | ||
|
||
{#if nolink} | ||
<span>{apiCall.snippet}</span> | ||
{:else} | ||
<a href="/api-calls/{apiCall.id}">{apiCall.snippet}</a> | ||
{/if} | ||
|
||
<style> | ||
span, | ||
a { | ||
min-width: 0; | ||
flex: 1; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
span { | ||
font-style: italic; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.