mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-30 01:41:43 +00:00
chore: formatting etc
This commit is contained in:
parent
56a69e519b
commit
5a5d90c85a
14 changed files with 698 additions and 237 deletions
|
|
@ -5,7 +5,11 @@ import { useState } from 'react'
|
|||
import type { Theme } from '../theme.js'
|
||||
|
||||
export function MaskedPrompt({
|
||||
icon, label, onSubmit, sub, t
|
||||
icon,
|
||||
label,
|
||||
onSubmit,
|
||||
sub,
|
||||
t
|
||||
}: {
|
||||
icon: string
|
||||
label: string
|
||||
|
|
@ -17,8 +21,10 @@ export function MaskedPrompt({
|
|||
|
||||
return (
|
||||
<Box flexDirection="column">
|
||||
<Text bold color={t.color.warn}>{icon} {label}</Text>
|
||||
{sub && <Text color={t.color.dim}> {sub}</Text>}
|
||||
<Text bold color={t.color.warn}>
|
||||
{icon} {label}
|
||||
</Text>
|
||||
{sub && <Text color={t.color.dim}> {sub}</Text>}
|
||||
|
||||
<Box>
|
||||
<Text color={t.color.label}>{'> '}</Text>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue