mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 22:38:56 +08:00
feat: text to image impl (#6437)
fix CLOUD-18 fix CLOUD-28 fix CLOUD-29
This commit is contained in:
@@ -37,6 +37,13 @@ type CopilotQuota {
|
||||
used: SafeInt!
|
||||
}
|
||||
|
||||
input CreateChatMessageInput {
|
||||
attachments: [String!]
|
||||
content: String!
|
||||
params: String
|
||||
sessionId: String!
|
||||
}
|
||||
|
||||
input CreateChatSessionInput {
|
||||
"""An mark identifying which view to use to display the session"""
|
||||
action: String
|
||||
@@ -167,6 +174,9 @@ type Mutation {
|
||||
"""Create a subscription checkout link of stripe"""
|
||||
createCheckoutSession(input: CreateCheckoutSessionInput!): String!
|
||||
|
||||
"""Create a chat message"""
|
||||
createCopilotMessage(options: CreateChatMessageInput!): String!
|
||||
|
||||
"""Create a chat session"""
|
||||
createCopilotSession(options: CreateChatSessionInput!): String!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user