refactor: Consolidate validation and improve error logging

This commit is contained in:
Shirone
2026-01-21 22:28:22 +01:00
parent a9616ff309
commit 28d50aa017
3 changed files with 62 additions and 72 deletions

View File

@@ -7,6 +7,10 @@ export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
// Re-export getErrorMessage from @automaker/utils to maintain backward compatibility
// for components that already import it from here
export { getErrorMessage } from '@automaker/utils';
/**
* Determine if the current model supports extended thinking controls
* Note: This is for Claude's "thinking levels" only, not Codex's "reasoning effort"