Skip to content

Commit

Permalink
fix: functions are optional for agents
Browse files Browse the repository at this point in the history
  • Loading branch information
dosco committed Dec 16, 2024
1 parent 5617aea commit 13f6251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ax/prompts/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class AxAgent<IN extends AxGenIn, OUT extends AxGenOut>
description: string;
signature: AxSignature | string;
agents?: AxAgentic[];
functions: AxFunction[];
functions?: AxFunction[];
}>,
options?: Readonly<AxAgentOptions>
) {
Expand Down

0 comments on commit 13f6251

Please sign in to comment.