feat: improve context api (#10812)

This commit is contained in:
darkskygit
2025-03-14 05:57:40 +00:00
parent b8452f56a8
commit 92effd9b51
10 changed files with 46 additions and 23 deletions
+3 -2
View File
@@ -35,7 +35,7 @@ type ChatMessage {
role: String!
}
enum ContextFileStatus {
enum ContextEmbedStatus {
failed
finished
processing
@@ -95,6 +95,7 @@ type CopilotContext {
type CopilotContextDoc {
createdAt: SafeInt!
id: ID!
status: ContextEmbedStatus
}
type CopilotContextFile {
@@ -104,7 +105,7 @@ type CopilotContextFile {
error: String
id: ID!
name: String!
status: ContextFileStatus!
status: ContextEmbedStatus!
}
type CopilotContextFileNotSupportedDataType {