Skip to content

Commit 96a110a

Browse files
committed
inc
1 parent fc7624d commit 96a110a

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agent-swarm-kit",
3-
"version": "1.1.176",
3+
"version": "1.1.177",
44
"description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
55
"author": {
66
"name": "Petr Tripolsky",

src/functions/target/json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export async function json<
254254
Param extends IOutlineParam = IOutlineParam
255255
>(
256256
outlineName: OutlineName,
257-
param = {} as IOutlineParam
257+
param = {} as Param
258258
): Promise<IOutlineResult<Data, Param>> {
259259
return await jsonInternal(outlineName, param);
260260
}

types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11246,7 +11246,7 @@ declare function ask<T = string>(message: T, advisorName: AdvisorName): Promise<
1124611246
* const result = await json<"MyOutline", { query: string }>("MyOutline", { query: "example" });
1124711247
* console.log(result.isValid, result.data); // Logs validation status and data
1124811248
*/
11249-
declare function json<Data extends IOutlineData = IOutlineData, Param extends IOutlineParam = IOutlineParam>(outlineName: OutlineName, param?: IOutlineParam): Promise<IOutlineResult<Data, Param>>;
11249+
declare function json<Data extends IOutlineData = IOutlineData, Param extends IOutlineParam = IOutlineParam>(outlineName: OutlineName, param?: Param): Promise<IOutlineResult<Data, Param>>;
1125011250

1125111251
/**
1125211252
* Processes a chat completion request by sending messages to a specified completion service.

0 commit comments

Comments
 (0)