@absolutejs/absolute 0.19.0-beta.448 → 0.19.0-beta.449
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/ai/index.js +8 -2
- package/dist/ai/index.js.map +6 -5
- package/dist/build.js +60 -9
- package/dist/build.js.map +4 -4
- package/dist/index.js +64 -10
- package/dist/index.js.map +5 -5
- package/dist/src/ai/index.d.ts +2 -2
- package/dist/src/ai/rag/htmxConfig.d.ts +3 -0
- package/dist/src/ai/rag/index.d.ts +2 -1
- package/dist/src/ai/rag/types.d.ts +1 -1
- package/dist/src/build/staticIslandPages.d.ts +2 -0
- package/dist/types/ai.d.ts +2 -0
- package/package.json +1 -1
package/dist/ai/index.js
CHANGED
|
@@ -2700,7 +2700,8 @@ var ragChat = (config) => {
|
|
|
2700
2700
|
const abortControllers = new Map;
|
|
2701
2701
|
const includeCompleteSources = config.ragCompleteSources === true;
|
|
2702
2702
|
const indexManager = config.indexManager;
|
|
2703
|
-
const
|
|
2703
|
+
const workflowRenderConfig = typeof config.htmx === "object" ? config.htmx.workflowRender ?? config.htmx.workflow?.render : undefined;
|
|
2704
|
+
const workflowRenderers = resolveRAGWorkflowRenderers(workflowRenderConfig);
|
|
2704
2705
|
const toHTMXResponse = (html, status, extraHeaders) => new Response(html, {
|
|
2705
2706
|
headers: {
|
|
2706
2707
|
...HTML_HEADERS,
|
|
@@ -3223,6 +3224,9 @@ var ragChat = (config) => {
|
|
|
3223
3224
|
return { ok: true };
|
|
3224
3225
|
}).use(htmxRoutes());
|
|
3225
3226
|
};
|
|
3227
|
+
// src/ai/rag/htmxConfig.ts
|
|
3228
|
+
var createRAGHTMXConfig = (config) => config;
|
|
3229
|
+
var createRAGHTMXWorkflowRenderConfig = (config) => config;
|
|
3226
3230
|
// src/ai/rag/presentation.ts
|
|
3227
3231
|
var buildSourceGroupKey = (source) => source.source ?? source.title ?? source.chunkId;
|
|
3228
3232
|
var buildSourceLabel = (source) => source.source ?? source.title ?? source.chunkId;
|
|
@@ -4305,6 +4309,8 @@ export {
|
|
|
4305
4309
|
deepseek,
|
|
4306
4310
|
createSQLiteRAGStore,
|
|
4307
4311
|
createRAGVector,
|
|
4312
|
+
createRAGHTMXWorkflowRenderConfig,
|
|
4313
|
+
createRAGHTMXConfig,
|
|
4308
4314
|
createRAGCollection,
|
|
4309
4315
|
createRAGClient,
|
|
4310
4316
|
createMemoryStore,
|
|
@@ -4318,5 +4324,5 @@ export {
|
|
|
4318
4324
|
aiChat
|
|
4319
4325
|
};
|
|
4320
4326
|
|
|
4321
|
-
//# debugId=
|
|
4327
|
+
//# debugId=E14AB21DD3CBC38264756E2164756E21
|
|
4322
4328
|
//# sourceMappingURL=index.js.map
|