From 8d5824bc2e2b19aa31955e2951a5bcacf391db35 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Fri, 22 Nov 2024 13:47:15 +0600 Subject: [PATCH] feat: course ai token limit --- src/components/CourseAI/CourseAI.tsx | 2 +- src/components/CourseAI/CourseAILimit.tsx | 24 ++++++++++++++++ src/components/CourseAI/CourseAIPopover.tsx | 32 +++++++++++++++------ src/hooks/use-course.ts | 18 ++++++++++++ 4 files changed, 66 insertions(+), 10 deletions(-) create mode 100644 src/components/CourseAI/CourseAILimit.tsx diff --git a/src/components/CourseAI/CourseAI.tsx b/src/components/CourseAI/CourseAI.tsx index 04cf1e086..a76d5cc4d 100644 --- a/src/components/CourseAI/CourseAI.tsx +++ b/src/components/CourseAI/CourseAI.tsx @@ -33,7 +33,7 @@ export function CourseAI(props: CourseAIProps) { return (