feat: refine codex live chat context flows
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {
|
||||
clearChatConversationRoom,
|
||||
createChatConversationRoom,
|
||||
deleteChatConversationRequest,
|
||||
deleteChatConversationRoom,
|
||||
@@ -57,6 +58,7 @@ export type ChatGateway = {
|
||||
>
|
||||
>,
|
||||
) => Promise<ChatConversationSummary>;
|
||||
clearConversation: (sessionId: string) => Promise<ChatConversationSummary>;
|
||||
deleteConversation: (sessionId: string) => Promise<void>;
|
||||
deleteConversationRequest: (sessionId: string, requestId: string) => Promise<void>;
|
||||
markConversationRead: (sessionId: string) => Promise<void>;
|
||||
@@ -73,6 +75,7 @@ export const chatGateway: ChatGateway = {
|
||||
createConversation: createChatConversationRoom,
|
||||
renameConversation: renameChatConversationRoom,
|
||||
updateConversation: updateChatConversationRoom,
|
||||
clearConversation: clearChatConversationRoom,
|
||||
deleteConversation: async (sessionId) => {
|
||||
await deleteChatConversationRoom(sessionId);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user