@workglow/ai 0.0.115 → 0.0.116
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/browser.js +1 -3
- package/dist/browser.js.map +6 -6
- package/dist/bun.js +1 -3
- package/dist/bun.js.map +6 -6
- package/dist/model/ModelRepository.d.ts +3 -3
- package/dist/model/ModelRepository.d.ts.map +1 -1
- package/dist/node.js +1 -3
- package/dist/node.js.map +6 -6
- package/dist/task/ChunkVectorHybridSearchTask.d.ts.map +1 -1
- package/dist/task/HierarchyJoinTask.d.ts.map +1 -1
- package/dist/task/base/AiTask.d.ts.map +1 -1
- package/package.json +11 -11
package/dist/bun.js
CHANGED
|
@@ -598,8 +598,6 @@ function schemaFormat(schema) {
|
|
|
598
598
|
class AiTask extends JobQueueTask {
|
|
599
599
|
static type = "AiTask";
|
|
600
600
|
constructor(input = {}, config = {}) {
|
|
601
|
-
const modelLabel = typeof input.model === "string" ? input.model : typeof input.model === "object" && input.model ? input.model.model_id || input.model.title || input.model.provider : undefined;
|
|
602
|
-
config.title ||= `${new.target.type || new.target.name}${modelLabel ? " with model " + modelLabel : ""}`;
|
|
603
601
|
super(input, config);
|
|
604
602
|
this.jobClass = AiJob;
|
|
605
603
|
}
|
|
@@ -6349,4 +6347,4 @@ export {
|
|
|
6349
6347
|
AiJob
|
|
6350
6348
|
};
|
|
6351
6349
|
|
|
6352
|
-
//# debugId=
|
|
6350
|
+
//# debugId=6497139E1F0380F564756E2164756E21
|