chore: generate
This commit is contained in:
@@ -900,7 +900,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||||||
.abort({
|
.abort({
|
||||||
sessionID,
|
sessionID,
|
||||||
})
|
})
|
||||||
.catch(() => { })
|
.catch(() => {})
|
||||||
}
|
}
|
||||||
|
|
||||||
const addToHistory = (prompt: Prompt, mode: "normal" | "shell") => {
|
const addToHistory = (prompt: Prompt, mode: "normal" | "shell") => {
|
||||||
@@ -1324,18 +1324,18 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||||||
|
|
||||||
const contextParts: Array<
|
const contextParts: Array<
|
||||||
| {
|
| {
|
||||||
id: string
|
id: string
|
||||||
type: "text"
|
type: "text"
|
||||||
text: string
|
text: string
|
||||||
synthetic?: boolean
|
synthetic?: boolean
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
id: string
|
id: string
|
||||||
type: "file"
|
type: "file"
|
||||||
mime: string
|
mime: string
|
||||||
url: string
|
url: string
|
||||||
filename?: string
|
filename?: string
|
||||||
}
|
}
|
||||||
> = []
|
> = []
|
||||||
|
|
||||||
const commentNote = (path: string, selection: FileSelection | undefined, comment: string) => {
|
const commentNote = (path: string, selection: FileSelection | undefined, comment: string) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user