mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-25 18:55:19 +02:00
show workflow in conversation view
This commit is contained in:
parent
3552302f4a
commit
5a36653af1
1 changed files with 11 additions and 0 deletions
|
|
@ -202,6 +202,16 @@ export function ConversationView({ projectId, conversationId }: { projectId: str
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* Workflow */}
|
||||||
|
<div className="bg-gray-50 dark:bg-gray-800/50 p-4 rounded-lg border border-gray-200 dark:border-gray-700">
|
||||||
|
<div className="text-sm font-semibold text-gray-700 dark:text-gray-300 mb-3 uppercase tracking-wide">
|
||||||
|
Workflow
|
||||||
|
</div>
|
||||||
|
<pre className="bg-gray-100 dark:bg-gray-900 p-3 rounded text-xs overflow-x-auto border border-gray-200 dark:border-gray-700 font-mono max-h-[400px]">
|
||||||
|
{JSON.stringify(conversation.workflow, null, 2)}
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* Turns */}
|
{/* Turns */}
|
||||||
{conversation.turns && conversation.turns.length > 0 ? (
|
{conversation.turns && conversation.turns.length > 0 ? (
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
|
|
@ -226,3 +236,4 @@ export function ConversationView({ projectId, conversationId }: { projectId: str
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue