@iqai/adk 0.1.7 → 0.1.8
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/CHANGELOG.md +6 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +0 -3
- package/dist/index.mjs +0 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -3809,12 +3809,12 @@ interface EnhancedRunner {
|
|
|
3809
3809
|
}): AsyncIterable<Event>;
|
|
3810
3810
|
}
|
|
3811
3811
|
/**
|
|
3812
|
-
* Built agent result containing the agent and
|
|
3812
|
+
* Built agent result containing the agent and runner/session
|
|
3813
3813
|
*/
|
|
3814
3814
|
interface BuiltAgent {
|
|
3815
3815
|
agent: BaseAgent;
|
|
3816
|
-
runner
|
|
3817
|
-
session
|
|
3816
|
+
runner: EnhancedRunner;
|
|
3817
|
+
session: Session;
|
|
3818
3818
|
}
|
|
3819
3819
|
/**
|
|
3820
3820
|
* Agent types that can be built
|
package/dist/index.d.ts
CHANGED
|
@@ -3809,12 +3809,12 @@ interface EnhancedRunner {
|
|
|
3809
3809
|
}): AsyncIterable<Event>;
|
|
3810
3810
|
}
|
|
3811
3811
|
/**
|
|
3812
|
-
* Built agent result containing the agent and
|
|
3812
|
+
* Built agent result containing the agent and runner/session
|
|
3813
3813
|
*/
|
|
3814
3814
|
interface BuiltAgent {
|
|
3815
3815
|
agent: BaseAgent;
|
|
3816
|
-
runner
|
|
3817
|
-
session
|
|
3816
|
+
runner: EnhancedRunner;
|
|
3817
|
+
session: Session;
|
|
3818
3818
|
}
|
|
3819
3819
|
/**
|
|
3820
3820
|
* Agent types that can be built
|
package/dist/index.js
CHANGED
|
@@ -9880,9 +9880,6 @@ var AgentBuilder = (_class31 = class _AgentBuilder {
|
|
|
9880
9880
|
*/
|
|
9881
9881
|
async ask(message) {
|
|
9882
9882
|
const { runner } = await this.build();
|
|
9883
|
-
if (!runner) {
|
|
9884
|
-
throw new Error("Failed to create runner");
|
|
9885
|
-
}
|
|
9886
9883
|
return runner.ask(message);
|
|
9887
9884
|
}
|
|
9888
9885
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -9880,9 +9880,6 @@ var AgentBuilder = class _AgentBuilder {
|
|
|
9880
9880
|
*/
|
|
9881
9881
|
async ask(message) {
|
|
9882
9882
|
const { runner } = await this.build();
|
|
9883
|
-
if (!runner) {
|
|
9884
|
-
throw new Error("Failed to create runner");
|
|
9885
|
-
}
|
|
9886
9883
|
return runner.ask(message);
|
|
9887
9884
|
}
|
|
9888
9885
|
/**
|