mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 02:20:19 +08:00
feat: improve context api (#10812)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user