From b0b99165bdb4373237a6e8d2716271db81c4ad5a Mon Sep 17 00:00:00 2001 From: Pionxzh Date: Tue, 3 Dec 2024 01:40:44 +0800 Subject: [PATCH] fix: skip user custom instructions to avoid showing unsupported content closes #269 --- src/api.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/api.ts b/src/api.ts index 0baf0d8..7eb6404 100644 --- a/src/api.ts +++ b/src/api.ts @@ -129,6 +129,10 @@ export interface ConversationNodeMessage { } | { content_type: 'execution_output' text: string + } | { + content_type: 'user_editable_context' + user_profile: string + user_instructions: string } | { content_type: 'tether_quote' domain?: string @@ -580,6 +584,8 @@ function extractConversationResult(conversationMapping: Record