feat: copilot context menu for tool

This commit is contained in:
n4ze3m
2024-08-03 23:00:57 +05:30
parent 9c7ebc8778
commit ac9c9ca887
14 changed files with 696 additions and 132 deletions

View File

@@ -12,6 +12,7 @@ export type ChatHistory = {
role: "user" | "assistant" | "system"
content: string
image?: string
messageType?: string
}[]
type State = {

View File

@@ -18,12 +18,14 @@ export type Message = {
images?: string[]
search?: WebSearch
id?: string
messageType?: string
}
export type ChatHistory = {
role: "user" | "assistant" | "system"
content: string
image?: string
image?: string,
messageType?: string
}[]
type State = {