- {isCommand ? (
- <>
- {argsText && (
- <>
-
- {t('conversation.args')}
-
-
{argsText}
- >
- )}
-
- {output && (
- <>
-
- {t('conversation.output')}
-
-
-
-
- >
- )}
- >
- ) : (
- <>
- {isTool && actionType && (
- <>
-
- {t('conversation.args')}
-
-
- {renderJson(actionType.arguments)}
-
-
- {t('conversation.result')}
-
-
- {actionType.result?.type.type === 'markdown' &&
- actionType.result.value && (
-
- )}
- {actionType.result?.type.type === 'json' &&
- renderJson(actionType.result.value)}
-
- >
- )}
- >
- )}
-