@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/build.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aravindc26/velu",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "A modern documentation site generator powered by Markdown and JSON configuration",
5
5
  "type": "module",
6
6
  "license": "MIT",
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) {