@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/browser.js
CHANGED
|
@@ -597,8 +597,6 @@ function schemaFormat(schema) {
|
|
|
597
597
|
class AiTask extends JobQueueTask {
|
|
598
598
|
static type = "AiTask";
|
|
599
599
|
constructor(input = {}, config = {}) {
|
|
600
|
-
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;
|
|
601
|
-
config.title ||= `${new.target.type || new.target.name}${modelLabel ? " with model " + modelLabel : ""}`;
|
|
602
600
|
super(input, config);
|
|
603
601
|
this.jobClass = AiJob;
|
|
604
602
|
}
|
|
@@ -6348,4 +6346,4 @@ export {
|
|
|
6348
6346
|
AiJob
|
|
6349
6347
|
};
|
|
6350
6348
|
|
|
6351
|
-
//# debugId=
|
|
6349
|
+
//# debugId=FA713AFFB061070264756E2164756E21
|