@e-llm-studio/instant-learning 1.3.3 → 1.3.4

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 (57) hide show
  1. package/dist/ILMarketplaceWrapper.js +3 -0
  2. package/dist/ILMarketplaceWrapper.js.map +1 -1
  3. package/dist/cjs/ILMarketplaceWrapper.js +3 -0
  4. package/dist/cjs/ILMarketplaceWrapper.js.map +1 -1
  5. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +2 -1
  6. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.js.map +1 -1
  7. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/NormalChat.js +2 -1
  8. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/NormalChat.js.map +1 -1
  9. package/dist/cjs/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.js +41 -4
  10. package/dist/cjs/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.js.map +1 -1
  11. package/dist/cjs/features/IL-marketplace/PromoteFlow/PromoteFlow.js +444 -169
  12. package/dist/cjs/features/IL-marketplace/PromoteFlow/PromoteFlow.js.map +1 -1
  13. package/dist/cjs/features/IL-marketplace/PromoteFlow/PromoteFlow.module.css.js +2 -2
  14. package/dist/cjs/features/IL-marketplace/PromoteFlow/promote-flow.api.js +19 -2
  15. package/dist/cjs/features/IL-marketplace/PromoteFlow/promote-flow.api.js.map +1 -1
  16. package/dist/cjs/features/IL-marketplace/PromoteFlow/promote-flow.store.js +7 -0
  17. package/dist/cjs/features/IL-marketplace/PromoteFlow/promote-flow.store.js.map +1 -1
  18. package/dist/cjs/features/InstantLearning/InstantLearning.js +1 -0
  19. package/dist/cjs/features/InstantLearning/InstantLearning.js.map +1 -1
  20. package/dist/cjs/features/InstantLearning/_components/ChatComponent.js +3 -1
  21. package/dist/cjs/features/InstantLearning/_components/ChatComponent.js.map +1 -1
  22. package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js +3 -1
  23. package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js.map +1 -1
  24. package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +2 -1
  25. package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.js.map +1 -1
  26. package/dist/features/IL-OTJ/_components/ChatComponents/NormalChat.js +2 -1
  27. package/dist/features/IL-OTJ/_components/ChatComponents/NormalChat.js.map +1 -1
  28. package/dist/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.js +41 -4
  29. package/dist/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.js.map +1 -1
  30. package/dist/features/IL-marketplace/PromoteFlow/PromoteFlow.js +446 -171
  31. package/dist/features/IL-marketplace/PromoteFlow/PromoteFlow.js.map +1 -1
  32. package/dist/features/IL-marketplace/PromoteFlow/PromoteFlow.module.css.js +2 -2
  33. package/dist/features/IL-marketplace/PromoteFlow/promote-flow.api.js +17 -3
  34. package/dist/features/IL-marketplace/PromoteFlow/promote-flow.api.js.map +1 -1
  35. package/dist/features/IL-marketplace/PromoteFlow/promote-flow.store.js +7 -0
  36. package/dist/features/IL-marketplace/PromoteFlow/promote-flow.store.js.map +1 -1
  37. package/dist/features/InstantLearning/InstantLearning.js +1 -0
  38. package/dist/features/InstantLearning/InstantLearning.js.map +1 -1
  39. package/dist/features/InstantLearning/_components/ChatComponent.js +3 -1
  40. package/dist/features/InstantLearning/_components/ChatComponent.js.map +1 -1
  41. package/dist/features/InstantLearning/_components/ContextualChatComponent.js +3 -1
  42. package/dist/features/InstantLearning/_components/ContextualChatComponent.js.map +1 -1
  43. package/dist/types/src/ILMarketplaceWrapper.d.ts.map +1 -1
  44. package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.map +1 -1
  45. package/dist/types/src/features/IL-OTJ/_components/ChatComponents/NormalChat.d.ts.map +1 -1
  46. package/dist/types/src/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.d.ts.map +1 -1
  47. package/dist/types/src/features/IL-marketplace/PromoteFlow/PromoteFlow.d.ts.map +1 -1
  48. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.api.d.ts +5 -2
  49. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.api.d.ts.map +1 -1
  50. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.interfaces.d.ts +26 -1
  51. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.interfaces.d.ts.map +1 -1
  52. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.store.d.ts +3 -1
  53. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.store.d.ts.map +1 -1
  54. package/dist/types/src/features/InstantLearning/InstantLearning.d.ts.map +1 -1
  55. package/dist/types/src/features/InstantLearning/_components/ChatComponent.d.ts.map +1 -1
  56. package/dist/types/src/features/InstantLearning/_components/ContextualChatComponent.d.ts.map +1 -1
  57. package/package.json +4 -4
@@ -338,7 +338,7 @@ const ChatComponent = ({
338
338
  method: "get",
339
339
  maxBodyLength: Infinity,
340
340
  url: `${url}/api/chatbot/getChatSettings?name=${chatAssistant}&organizationName=${organizationName}`,
341
- headers: {}
341
+ headers: (user == null ? void 0 : user.accessToken) ? { Authorization: `Bearer ${user.accessToken}` } : {}
342
342
  };
343
343
  http.request(config).then((response) => {
344
344
  var _a, _b, _c;
@@ -357,6 +357,7 @@ const ChatComponent = ({
357
357
  const requestOptions = {
358
358
  method: "GET",
359
359
  params: { guestSessionId: guestSessionIdRef.current },
360
+ headers: (user == null ? void 0 : user.accessToken) ? { Authorization: `Bearer ${user.accessToken}` } : {},
360
361
  withCredentials: true
361
362
  };
362
363
  http.get(getHistoryURL, requestOptions).then((response) => {