Revert "Implement V2 AI functions and enhance progress handling"
This reverts commit e2f2d79d4c.
This commit is contained in:
@@ -66,7 +66,7 @@ export default function AIProgressModal({
|
||||
|
||||
const modalInstanceId = modalInstanceIdRef.current || 'modal-01';
|
||||
|
||||
// Build full function ID with modal instance (only for debugging, not shown in UI)
|
||||
// Build full function ID with modal instance
|
||||
const fullFunctionId = functionId ? `${functionId}-${modalInstanceId}` : null;
|
||||
|
||||
// Determine color based on status
|
||||
@@ -201,10 +201,11 @@ export default function AIProgressModal({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Task ID (for debugging - Function ID not shown per requirements) */}
|
||||
{taskId && (
|
||||
{/* Function ID and Task ID (for debugging) */}
|
||||
{(fullFunctionId || taskId) && (
|
||||
<div className="mb-6 space-y-1 text-xs text-gray-400 dark:text-gray-600">
|
||||
<div>Task ID: {taskId}</div>
|
||||
{fullFunctionId && <div>Function ID: {fullFunctionId}</div>}
|
||||
{taskId && <div>Task ID: {taskId}</div>}
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -281,10 +282,11 @@ export default function AIProgressModal({
|
||||
{config.errorMessage || message}
|
||||
</p>
|
||||
|
||||
{/* Task ID (for debugging - Function ID not shown per requirements) */}
|
||||
{taskId && (
|
||||
{/* Function ID and Task ID (for debugging) */}
|
||||
{(fullFunctionId || taskId) && (
|
||||
<div className="mb-6 space-y-1 text-xs text-gray-400 dark:text-gray-600">
|
||||
<div>Task ID: {taskId}</div>
|
||||
{fullFunctionId && <div>Function ID: {fullFunctionId}</div>}
|
||||
{taskId && <div>Task ID: {taskId}</div>}
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -388,10 +390,15 @@ export default function AIProgressModal({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Task ID (for debugging - Function ID not shown per requirements) */}
|
||||
{taskId && (
|
||||
{/* Function ID and Task ID (for debugging) */}
|
||||
{(fullFunctionId || taskId) && (
|
||||
<div className="mb-4 space-y-1 text-xs text-gray-400 dark:text-gray-600">
|
||||
<div>Task ID: {taskId}</div>
|
||||
{fullFunctionId && (
|
||||
<div>Function ID: {fullFunctionId}</div>
|
||||
)}
|
||||
{taskId && (
|
||||
<div>Task ID: {taskId}</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user