@anvia/studio 0.3.0 → 0.4.0
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/index.d.ts +2 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ type StudioAgent = {
|
|
|
10
10
|
quickPrompts?: string[];
|
|
11
11
|
metadata?: JsonObject;
|
|
12
12
|
};
|
|
13
|
-
type StudioTarget = Agent | Pipeline<
|
|
13
|
+
type StudioTarget = Agent | Pipeline<any, any>;
|
|
14
14
|
type StudioAgentConfig = {
|
|
15
15
|
id: string;
|
|
16
16
|
name?: string;
|
|
@@ -39,7 +39,7 @@ type StudioAgentRuntimeSummary = {
|
|
|
39
39
|
};
|
|
40
40
|
type StudioPipeline = {
|
|
41
41
|
id: string;
|
|
42
|
-
pipeline: Pipeline<
|
|
42
|
+
pipeline: Pipeline<any, any>;
|
|
43
43
|
name?: string;
|
|
44
44
|
description?: string;
|
|
45
45
|
metadata?: JsonObject;
|
package/dist/index.js
CHANGED
|
@@ -5923,6 +5923,7 @@ var Studio = class {
|
|
|
5923
5923
|
function studioOptionsFromTargets(targets, options) {
|
|
5924
5924
|
const agents = targets.filter((target) => target instanceof Agent);
|
|
5925
5925
|
const pipelines = targets.filter(
|
|
5926
|
+
// biome-ignore lint/suspicious/noExplicitAny: Studio accepts heterogeneous user pipelines.
|
|
5926
5927
|
(target) => target instanceof Pipeline
|
|
5927
5928
|
);
|
|
5928
5929
|
return {
|