@iqai/adk 0.1.21 → 0.1.22
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +289 -233
- package/dist/index.mjs +150 -94
- package/package.json +11 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1214,7 +1214,7 @@ declare abstract class BaseLLMConnection {
|
|
|
1214
1214
|
*/
|
|
1215
1215
|
declare abstract class BaseLlm {
|
|
1216
1216
|
/**
|
|
1217
|
-
* The name of the LLM, e.g. gemini-
|
|
1217
|
+
* The name of the LLM, e.g. gemini-2.5-flash or gemini-2.5-flash-001.
|
|
1218
1218
|
*/
|
|
1219
1219
|
model: string;
|
|
1220
1220
|
protected logger: Logger;
|
|
@@ -4087,7 +4087,7 @@ type AgentType = "llm" | "sequential" | "parallel" | "loop" | "langgraph";
|
|
|
4087
4087
|
/**
|
|
4088
4088
|
* AgentBuilder with typed output schema
|
|
4089
4089
|
*/
|
|
4090
|
-
interface AgentBuilderWithSchema<T> extends Omit<AgentBuilder,
|
|
4090
|
+
interface AgentBuilderWithSchema<T> extends Omit<AgentBuilder, "build" | "ask"> {
|
|
4091
4091
|
build(): Promise<BuiltAgent<T>>;
|
|
4092
4092
|
buildWithSchema<U = T>(): Promise<BuiltAgent<U>>;
|
|
4093
4093
|
ask(message: string | FullMessage): Promise<T>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1214,7 +1214,7 @@ declare abstract class BaseLLMConnection {
|
|
|
1214
1214
|
*/
|
|
1215
1215
|
declare abstract class BaseLlm {
|
|
1216
1216
|
/**
|
|
1217
|
-
* The name of the LLM, e.g. gemini-
|
|
1217
|
+
* The name of the LLM, e.g. gemini-2.5-flash or gemini-2.5-flash-001.
|
|
1218
1218
|
*/
|
|
1219
1219
|
model: string;
|
|
1220
1220
|
protected logger: Logger;
|
|
@@ -4087,7 +4087,7 @@ type AgentType = "llm" | "sequential" | "parallel" | "loop" | "langgraph";
|
|
|
4087
4087
|
/**
|
|
4088
4088
|
* AgentBuilder with typed output schema
|
|
4089
4089
|
*/
|
|
4090
|
-
interface AgentBuilderWithSchema<T> extends Omit<AgentBuilder,
|
|
4090
|
+
interface AgentBuilderWithSchema<T> extends Omit<AgentBuilder, "build" | "ask"> {
|
|
4091
4091
|
build(): Promise<BuiltAgent<T>>;
|
|
4092
4092
|
buildWithSchema<U = T>(): Promise<BuiltAgent<U>>;
|
|
4093
4093
|
ask(message: string | FullMessage): Promise<T>;
|