@oscloudlab/vgen-agent-assistant 0.0.5 → 0.0.7

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.
@@ -25512,10 +25512,14 @@ axiosInstance.interceptors.request.use(
25512
25512
  const { url } = config;
25513
25513
  for (const [prefix2, baseURL] of Object.entries(API_PREFIX_MAP)) {
25514
25514
  if (url == null ? void 0 : url.startsWith(prefix2)) {
25515
+ console.log("prefix", prefix2);
25516
+ console.log("baseURL", baseURL);
25515
25517
  config.baseURL = baseURL;
25516
25518
  break;
25517
25519
  }
25518
25520
  }
25521
+ console.log("config.url", config.url);
25522
+ console.log("API_PREFIX_MAP", API_PREFIX_MAP);
25519
25523
  if (!config.baseURL) {
25520
25524
  config.baseURL = API_PREFIX_MAP.default;
25521
25525
  }
@@ -25601,6 +25605,9 @@ function sseForChat(config, events) {
25601
25605
  break;
25602
25606
  }
25603
25607
  }
25608
+ console.log("config.url", config.url);
25609
+ console.log("API_PREFIX_MAP", API_PREFIX_MAP);
25610
+ console.log("baseUrl", baseUrl);
25604
25611
  let fullUrl = `${baseUrl}${config.url}`;
25605
25612
  const token2 = localStorage.getItem(TOKEN);
25606
25613
  const tokenStr = getTokenFromCookie();
@@ -59479,7 +59486,7 @@ const MessageContent = (props) => {
59479
59486
  {
59480
59487
  className: cn(
59481
59488
  "w-full px-4 rounded-[24px] text-[13px] leading-relaxed shadow-sm",
59482
- msg.role === "user" ? "bg-blue-600 text-white rounded-tr-none" : "bg-white text-gray-800 border border-gray-100 rounded-tl-none"
59489
+ msg.role === "user" ? "bg-blue-600 text-white rounded-tr-none" : "py-4 bg-white text-gray-800 border border-gray-100 rounded-tl-none"
59483
59490
  ),
59484
59491
  children: [
59485
59492
  msg.messageType === msgType.NODE && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-1 py-2 whitespace-pre-wrap break-words", children: msg.content }),
Binary file