mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Add message queuing and retry handling with status indicators
This commit is contained in:
1 parent
7474256440
commit
7fdf776b50
5 files changed
+142
-52
No files matched your search
@@ -4,9 +4,12 @@ import { Volume2, Square, Loader2 } from 'lucide-react'
|
||||
import { TextPart } from './TextPart'
|
||||
import { PatchPart } from './PatchPart'
|
||||
import { ToolCallPart } from './ToolCallPart'
|
||||
import { RetryPart } from './RetryPart'
|
||||
import { useTTS } from '@/hooks/useTTS'
|
||||
import { CopyButton } from '@/components/ui/copy-button'
|
||||
|
||||
type RetryPartType = components['schemas']['RetryPart']
|
||||
|
||||
type Part = components['schemas']['Part']
|
||||
|
||||
interface MessagePartProps {
|
||||
@@ -152,6 +155,8 @@ export const MessagePart = memo(function MessagePart({ part, role, allParts, par
|
||||
<span className="font-medium">{part.filename || 'File'}</span>
|
||||
</span>
|
||||
)
|
||||
case 'retry':
|
||||
return <RetryPart part={part as RetryPartType} />
|
||||
default:
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user