@meistrari/chat-nuxt 1.8.0 → 1.8.1
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/dist/module.json
CHANGED
|
@@ -5,8 +5,8 @@ async function loadPdfjs() {
|
|
|
5
5
|
if (!import.meta.client)
|
|
6
6
|
return null;
|
|
7
7
|
if (!pdfjsLibPromise) {
|
|
8
|
-
pdfjsLibPromise = import("pdfjs-dist").then((lib) => {
|
|
9
|
-
lib.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${lib.version}/build/pdf.worker.min.mjs`;
|
|
8
|
+
pdfjsLibPromise = import("pdfjs-dist/legacy/build/pdf.mjs").then((lib) => {
|
|
9
|
+
lib.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${lib.version}/legacy/build/pdf.worker.min.mjs`;
|
|
10
10
|
return lib;
|
|
11
11
|
});
|
|
12
12
|
}
|
|
@@ -161,6 +161,10 @@ export async function resolveDefaultAgentEnvironmentVariables(event, context, op
|
|
|
161
161
|
if (resolveChatNuxtFeatures(useRuntimeConfig()).credentials) {
|
|
162
162
|
try {
|
|
163
163
|
credentialVariables = await resolveWorkspaceCredentials(event, context.workspaceId);
|
|
164
|
+
logger.info({
|
|
165
|
+
...logContext,
|
|
166
|
+
credentialKeys: Object.keys(credentialVariables)
|
|
167
|
+
}, "Workspace credentials loaded for agent API");
|
|
164
168
|
} catch (error) {
|
|
165
169
|
logger.warn({ ...logContext, error }, options.credentialsFailureMessage);
|
|
166
170
|
}
|