chore: add more agent upcoming features

This commit is contained in:
Rotimi Best
2026-05-27 11:55:40 +01:00
parent f0ef45fd67
commit 9082cbebf4
8 changed files with 155 additions and 24 deletions
+7 -1
View File
@@ -187,7 +187,13 @@ async function executeAgentTool<TArgs, TResult>(
}
}
export function buildAgentTools(orgId: string, userId: string, courseId: string, priorMessages: unknown[]) {
export function buildAgentTools(
orgId: string,
userId: string,
courseId: string,
priorMessages: unknown[],
_options?: { isOrgOnPaidPlan?: boolean }
) {
return {
get_course_structure: tool({
description: