@aravindc26/velu 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/build.ts +1 -1
package/package.json
CHANGED
package/src/build.ts
CHANGED
|
@@ -726,7 +726,7 @@ const title = Astro.locals.starlightRoute.entry.data.title;
|
|
|
726
726
|
|
|
727
727
|
function connectSSE() {
|
|
728
728
|
if (state.eventSource) state.eventSource.close();
|
|
729
|
-
var url = API_BASE + '/conversations/' + state.conversationId + '/events?after_seq=' + state.lastSeq;
|
|
729
|
+
var url = API_BASE + '/conversations/' + state.conversationId + '/events?after_seq=' + state.lastSeq + '&token=' + encodeURIComponent(state.conversationToken || '');
|
|
730
730
|
state.eventSource = new EventSource(url);
|
|
731
731
|
|
|
732
732
|
state.eventSource.addEventListener('assistant.completed', function(e) {
|