Skip to content

Bug: library make node.js process crashed #27

@minons1

Description

@minons1
Error: response.content_part.added: Item "item_AFz6bGwnCylAwlVNm27FW" not found
    at RealtimeConversation.response.content_part.added (file:///Users/salim/gancang-guneman/node_modules/@openai/realtime-api-beta/lib/conversation.js:179:15)
    at RealtimeConversation.processEvent (file:///Users/salim/gancang-guneman/node_modules/@openai/realtime-api-beta/lib/conversation.js:292:27)
    at handler (file:///Users/salim/gancang-guneman/node_modules/@openai/realtime-api-beta/lib/client.js:277:49)
    at RealtimeAPI.dispatch (file:///Users/salim/gancang-guneman/node_modules/@openai/realtime-api-beta/lib/event_handler.js:134:7)
    at RealtimeAPI.receive (file:///Users/salim/gancang-guneman/node_modules/@openai/realtime-api-beta/lib/api.js:178:10)
    at WebSocket.<anonymous> (file:///Users/salim/gancang-guneman/node_modules/@openai/realtime-api-beta/lib/api.js:129:14)
    at WebSocket.emit (node:events:519:28)
    at Receiver.receiverOnMessage (/Users/salim/gancang-guneman/node_modules/ws/lib/websocket.js:1220:20)
    at Receiver.emit (node:events:519:28)
    at Receiver.dataMessage (/Users/salim/gancang-guneman/node_modules/ws/lib/receiver.js:596:14)
[nodemon] app crashed - waiting for file changes before starting...

This crash happens ocassionally when I am trying to end the connection using RealtimeClient .close() method

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions