Custom chat session implementation #3007
Unanswered
onora-hbl
asked this question in
Extension Development QnA
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, as part of a project, I want to implement a complete “chat” extension connected to my own backend with my models. This backend is responsible for message persistence. Working in a VScode web context, I need my users to be able to retrieve their conversations when changing browsers or computers
To do this, I use
provideChatSessionItemsandprovideChatSessionContent, but this only works on sessions created on my schema. However, when a user creates a new session from scratch, it isLocaland therefore impossible to connect to my session provider (chatSessionContextbeing undefined, it is impossible to useonDidCommitChatSessionItem)Could you tell me if the path I am using is correct or if I should use another API? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions