Files
AIPex/lib/utils.ts
Ken Qian 98d0c15b05 refactor: migrate to custom chatbot and fix tool_calls API error
- Implement custom MessageHandler with event-driven architecture
- Fix OpenAI API tool_calls validation by ensuring complete responses
- Resolve Tailwind CSS HMR issues by loading CSS in HTML
- Add shadcn/ui components and AI element components
- Migrate from Plasmo to Vite for better build control
2025-10-02 16:59:17 +08:00

7 lines
166 B
TypeScript

import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}