Skip to content

sendFollowUpMessage doesn't work in kitchen-sink-lite component and other examples (when running in the dev mode) #191

@artsiomyemelyanenka

Description

@artsiomyemelyanenka

Steps:

  1. Start kitchen-sink example (I used node, but doesn't matter), switch to the dev mode, register the app on the Chat GPT web client
  2. Add the app to the chat, say "show me the widget"
  3. Widget is displayed, press "sendFollowUpMessage" button
  4. Screen "Content failed to load" with "Try again" button is displayed (+ error in the console, see below)
Image
  1. Press try again button - sometimes it recovers.

Reproducible in Chrome and Edge

There are a lot of errors in the console like:

installHook.js:1 Error: getNodeByIdOrMessageId - no node found by id: 1aef8981-def9-4379-85fc-e194b8f70898
at Cc.getNodeByIdOrMessageId (4813494d-bbranvz7rrbn3tca.js:2:446836)
at Cc.getParent (4813494d-bbranvz7rrbn3tca.js:2:448153)
at Object.getParentNode (4813494d-bbranvz7rrbn3tca.js:2:618996)
at Object.isReasoningResponseMessage (4813494d-bbranvz7rrbn3tca.js:2:623535)
at NYe (1a7ebd5f-lwh570n0j1eamkf3.js:2:2168769)
at DYe (1a7ebd5f-lwh570n0j1eamkf3.js:2:2179844)
at up (2340486e-h114sxj33pi48cph.js:1:75557)
at xp (2340486e-h114sxj33pi48cph.js:1:98525)
at kS (2340486e-h114sxj33pi48cph.js:1:95926)
at KS (2340486e-h114sxj33pi48cph.js:1:111690)
Caused by: React ErrorBoundary Error: getNodeByIdOrMessageId - no node found by id: 1aef8981-def9-4379-85fc-e194b8f70898
at DYe (1a7ebd5f-lwh570n0j1eamkf3.js:2:2176910)
at Cf (dbb95ee5-lom1kxcyadevxbje.js:2:45064)
at lZe (1a7ebd5f-lwh570n0j1eamkf3.js:2:2205204)
at wxt (1a7ebd5f-lwh570n0j1eamkf3.js:2:2205474)
at wf (dbb95ee5-lom1kxcyadevxbje.js:2:36923)
at div ()
at div ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions