id: 1 unit: await handleTurn() file: lib/assistant.ts start line: 137 end line: 347 size: 179 LOC McCabe index: 41 number of parameters: 3 id: 2 unit: function FunctionCall() file: components/ToolCall.tsx start line: 13 end line: 89 size: 74 LOC McCabe index: 11 number of parameters: 1 id: 3 unit: export default function AgentView() file: components/AgentView.tsx start line: 16 end line: 70 size: 50 LOC McCabe index: 2 number of parameters: 0 id: 4 unit: export default function UserView() file: components/UserView.tsx start line: 7 end line: 42 size: 32 LOC McCabe index: 3 number of parameters: 0 id: 5 unit: export async function POST() file: app/api/turn_response/route.ts start line: 5 end line: 59 size: 32 LOC McCabe index: 3 number of parameters: 1 id: 6 unit: function Article() file: components/RelevantArticles.tsx start line: 5 end line: 32 size: 28 LOC McCabe index: 2 number of parameters: 5 id: 7 unit: export default function RelevantArticles() file: components/RelevantArticles.tsx start line: 46 end line: 72 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 8 unit: function TypingIndicator() file: components/Chat.tsx start line: 32 end line: 53 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 9 unit: export default function RecommendedActions() file: components/RecommendedActions.tsx start line: 4 end line: 24 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 10 unit: export default function ContextPanel() file: components/ContextPanel.tsx start line: 10 end line: 26 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: export async function POST() file: app/api/complaints/create/route.ts start line: 1 end line: 18 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: export async function POST() file: app/api/tickets/create/route.ts start line: 1 end line: 18 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: export default function RootLayout() file: app/layout.tsx start line: 24 end line: 40 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 14 unit: function DetailItem() file: components/CustomerDetails.tsx start line: 3 end line: 18 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 15 unit: export default function ToolCall() file: components/ToolCall.tsx start line: 104 end line: 119 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 16 unit: export async function POST() file: app/api/vector_stores/add_file/route.ts start line: 5 end line: 20 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: export async function POST() file: app/api/vector_stores/upload_file/route.ts start line: 5 end line: 21 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: export async function GET() file: app/api/vector_stores/get_file/route.ts start line: 5 end line: 19 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: function TypingIndicatorDot() file: components/Chat.tsx start line: 17 end line: 30 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 20 unit: export async function POST() file: app/api/vouchers/create/route.ts start line: 1 end line: 15 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 21 unit: export async function GET() file: app/api/list_files/route.ts start line: 4 end line: 16 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: export async function POST() file: app/api/vector_stores/create_store/route.ts start line: 5 end line: 17 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: export async function GET() file: app/api/vector_stores/list_files/route.ts start line: 5 end line: 18 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 24 unit: export async function GET() file: app/api/vector_stores/retrieve_store/route.ts start line: 5 end line: 17 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 25 unit: function FileSearchCall() file: components/ToolCall.tsx start line: 91 end line: 102 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: function ArticleSkeleton() file: components/RelevantArticles.tsx start line: 34 end line: 44 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: export default function KnowledgeBasePage() file: app/kb/page.tsx start line: 5 end line: 15 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: date: getDate() file: config/demoData.ts start line: 101 end line: 110 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: date: getDate() file: config/demoData.ts start line: 131 end line: 140 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: date: getDate() file: config/demoData.ts start line: 145 end line: 154 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: date: getDate() file: config/demoData.ts start line: 82 end line: 90 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: export default function KnowledgeBasePage() file: app/faq/page.tsx start line: 5 end line: 11 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 33 unit: for await() file: app/api/turn_response/route.ts start line: 25 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: date: getDate() file: config/demoData.ts start line: 121 end line: 126 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: date: getDate() file: config/demoData.ts start line: 115 end line: 119 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: date: getDate() file: config/demoData.ts start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: export async function POST() file: app/api/orders/[order_id]/send_replacement/route.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: export async function GET() file: app/api/orders/[order_id]/route.ts start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: export async function POST() file: app/api/orders/[order_id]/create_refund/route.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: export async function POST() file: app/api/orders/[order_id]/cancel/route.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: export async function POST() file: app/api/orders/[order_id]/create_return/route.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: export async function POST() file: app/api/users/[user_id]/update_info/route.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: export async function GET() file: app/api/users/[user_id]/order_history/route.ts start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: export async function POST() file: app/api/users/[user_id]/reset_password/route.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: export function cn() file: lib/utils.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: async start() file: app/api/turn_response/route.ts start line: 23 end line: 39 size: 1 LOC McCabe index: 1 number of parameters: 1