@mozaik-ai/core 4.0.0-beta.5 → 4.0.0-beta.6
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.mts +20 -1
- package/dist/index.d.ts +20 -1
- package/dist/index.js +2 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -792,34 +792,27 @@ var EventPublisherLoopVisitor = class {
|
|
|
792
792
|
this.runtime = runtime;
|
|
793
793
|
}
|
|
794
794
|
visitContextPreparationStarted(input) {
|
|
795
|
-
console.log("Visiting message received started: ", input);
|
|
796
795
|
this.publish("context_preparation.started", input);
|
|
797
796
|
}
|
|
798
797
|
visitContextPreparationCompleted(output) {
|
|
799
|
-
console.log("Visiting message received completed: ", output);
|
|
800
798
|
this.publish("context_preparation.completed", output);
|
|
801
799
|
}
|
|
802
800
|
visitInferenceStarted(input) {
|
|
803
|
-
console.log("Visiting inference started: ", input);
|
|
804
801
|
this.publish("inference.started", input);
|
|
805
802
|
}
|
|
806
803
|
visitInferenceEvent(event) {
|
|
807
804
|
this.publish("inference.stream", event);
|
|
808
805
|
}
|
|
809
806
|
visitInferenceCompleted(output) {
|
|
810
|
-
console.log("Visiting inference completed: ", output);
|
|
811
807
|
this.publish("inference.completed", output);
|
|
812
808
|
}
|
|
813
809
|
visitFunctionCallStarted(input) {
|
|
814
|
-
console.log("Visiting function call started: ", input);
|
|
815
810
|
this.publish("function_call.started", input);
|
|
816
811
|
}
|
|
817
812
|
visitFunctionCallCompleted(output) {
|
|
818
|
-
console.log("Visiting function call completed: ", output);
|
|
819
813
|
this.publish("function_call.completed", output);
|
|
820
814
|
}
|
|
821
815
|
visitModelAnswer(input) {
|
|
822
|
-
console.log("Visiting model answer: ", input.answer);
|
|
823
816
|
this.publish("model.answer", input);
|
|
824
817
|
}
|
|
825
818
|
publish(type, payload) {
|
|
@@ -2154,6 +2147,7 @@ export {
|
|
|
2154
2147
|
Agent,
|
|
2155
2148
|
AnthropicMessages,
|
|
2156
2149
|
ContextItem,
|
|
2150
|
+
DefaultInferenceRunner,
|
|
2157
2151
|
DeveloperMessageItem,
|
|
2158
2152
|
FunctionCallItem,
|
|
2159
2153
|
FunctionCallOutputItem,
|