Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agno-agi/agent-ui
/ functions
Functions
152 in github.com/agno-agi/agent-ui
⨍
Functions
152
◇
Types & classes
47
↓ 68 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 24 callers
Function
filterProps
(props: object)
src/components/ui/typography/MarkdownRenderer/styles.tsx:36
↓ 18 callers
Function
filterProps
(props: object)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:29
↓ 7 callers
Function
createHeaders
(authToken?: string)
src/api/os.ts:8
↓ 7 callers
Function
useChatActions
()
src/hooks/useChatActions.ts:10
↓ 2 callers
Function
decodeBase64Audio
( base64String: string, mimeType = 'audio/mpeg', sampleRate = 44100, numChannels = 1 )
src/lib/audio.ts:1
↓ 2 callers
Function
getJsonMarkdown
(content: object = {})
src/lib/utils.ts:35
↓ 2 callers
Function
parseBuffer
* Extracts complete JSON objects from a buffer string **incrementally**. * - It allows partial JSON objects to accumulate across chunks. * - It ensu
src/hooks/useAIResponseStream.tsx:81
↓ 2 callers
Function
processChunk
* Processes a single JSON chunk by passing it to the provided callback. * @param chunk - A parsed JSON object of type RunResponseContent. * @param o
src/hooks/useAIResponseStream.tsx:9
↓ 2 callers
Function
truncateText
(text: string, limit: number)
src/lib/utils.ts:8
↓ 2 callers
Function
useSessionLoader
()
src/hooks/useSessionLoader.tsx:27
↓ 1 callers
Function
constructEndpointUrl
( value: string | null | undefined )
src/lib/constructEndpointUrl.ts:1
↓ 1 callers
Function
convertNewFormatToLegacy
( newFormatData: NewFormatData )
src/hooks/useAIResponseStream.tsx:40
↓ 1 callers
Function
createWavHeader
( dataLength: number, sampleRate: number, numChannels: number )
src/lib/audio.ts:33
↓ 1 callers
Function
deleteSessionAPI
( base: string, dbId: string, sessionId: string, authToken?: string )
src/api/os.ts:109
↓ 1 callers
Function
getAgentsAPI
( endpoint: string, authToken?: string )
src/api/os.ts:20
↓ 1 callers
Function
getAllSessionsAPI
( base: string, type: 'agent' | 'team', componentId: string, dbId: string, authToken?: string )
src/api/os.ts:53
↓ 1 callers
Function
getProviderIcon
(provider: string)
src/lib/modelProvider.ts:18
↓ 1 callers
Function
getSessionAPI
( base: string, type: 'agent' | 'team', sessionId: string, dbId?: string, authToken?: string )
src/api/os.ts:83
↓ 1 callers
Function
getStatusAPI
( base: string, authToken?: string )
src/api/os.ts:42
↓ 1 callers
Function
getStatusColor
(isActive: boolean)
src/components/chat/Sidebar/Sidebar.tsx:78
↓ 1 callers
Function
getTeamsAPI
( endpoint: string, authToken?: string )
src/api/os.ts:127
↓ 1 callers
Function
handleCancel
()
src/components/chat/Sidebar/AuthToken.tsx:39
↓ 1 callers
Function
handleCancel
()
src/components/chat/Sidebar/Sidebar.tsx:97
↓ 1 callers
Function
handleModeChange
(newMode: 'agent' | 'team')
src/components/chat/Sidebar/ModeSelector.tsx:22
↓ 1 callers
Function
handleOnValueChange
(value: string)
src/components/chat/Sidebar/EntitySelector.tsx:51
↓ 1 callers
Function
handleSave
()
src/components/chat/Sidebar/AuthToken.tsx:32
↓ 1 callers
Function
handleSave
()
src/components/chat/Sidebar/Sidebar.tsx:81
↓ 1 callers
Function
handleSubmit
()
src/components/chat/ChatArea/ChatInput/ChatInput.tsx:19
↓ 1 callers
Function
isLegacyFormat
* Detects if the incoming data is in the legacy format (direct RunResponseContent) * @param data - The parsed data object * @returns true if it's in
src/hooks/useAIResponseStream.tsx:23
↓ 1 callers
Function
isValidUrl
(url: string)
src/lib/utils.ts:15
↓ 1 callers
Function
processStream
()
src/hooks/useAIResponseStream.tsx:228
↓ 1 callers
Function
useAIChatStreamHandler
()
src/hooks/useAIStreamHandler.tsx:14
↓ 1 callers
Function
useAIResponseStream
()
src/hooks/useAIResponseStream.tsx:178
Function
ActionButton
({ href, variant, text }: ActionButtonProps)
src/components/chat/ChatArea/Messages/ChatBlankState.tsx:45
Function
AgentIcon
({ ...props })
src/components/ui/icon/custom-icons.tsx:52
Function
AgentMessage
({ message }: MessageProps)
src/components/chat/ChatArea/Messages/MessageItem.tsx:15
Function
AgentMessageWrapper
({ message }: MessageWrapperProps)
src/components/chat/ChatArea/Messages/Messages.tsx:62
Function
AgentThinkingLoader
()
src/components/chat/ChatArea/Messages/AgentThinkingLoader.tsx:1
Function
AgnoIcon
({ ...props })
src/components/ui/icon/custom-icons.tsx:3
Function
AgnoTag
({ ...props })
src/components/ui/icon/custom-icons.tsx:820
Function
AnchorLink
({ className, ...props }: AnchorLinkProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:118
Function
AnchorLink
({ className, ...props }: AnchorLinkProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:139
Function
AnthropicLogo
({ ...props })
src/components/ui/icon/custom-icons.tsx:269
Function
AuthToken
({ hasEnvToken, envToken }: { hasEnvToken?: boolean envToken?: string })
src/components/chat/Sidebar/AuthToken.tsx:8
Function
AwsLogo
({ ...props })
src/components/ui/icon/custom-icons.tsx:234
Function
AzureLogo
({ ...props })
src/components/ui/icon/custom-icons.tsx:402
Function
Blockquote
({ className, ...props }: BlockquoteProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:111
Function
Blockquote
({ className, ...props }: BlockquoteProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:132
Function
BoldText
({ className, ...props }: BoldTextProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:83
Function
BoldText
({ className, ...props }: BoldTextProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:96
Function
ChatArea
()
src/components/chat/ChatArea/ChatArea.tsx:5
Function
ChatBlankState
()
src/components/chat/ChatArea/Messages/ChatBlankState.tsx:63
Function
ChatInput
()
src/components/chat/ChatArea/ChatInput/ChatInput.tsx:11
Function
CohereLogo
({ ...props })
src/components/ui/icon/custom-icons.tsx:357
Function
DeepseekLogo
({ ...props })
src/components/ui/icon/custom-icons.tsx:341
Function
DeleteSessionModal
({ isOpen, onClose, onDelete, isDeleting })
src/components/chat/Sidebar/Sessions/DeleteSessionModal.tsx:20
Function
DeletedText
({ className, ...props }: DeletedTextProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:97
Function
DeletedText
({ className, ...props }: DeletedTextProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:110
Function
DialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:70
Function
DialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:56
Function
EmphasizedText
({ className, ...props }: EmphasizedTextProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:65
Function
EmphasizedText
({ className, ...props }: EmphasizedTextProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:75
Function
Endpoint
()
src/components/chat/Sidebar/Sidebar.tsx:55
Function
EntitySelector
()
src/components/chat/Sidebar/EntitySelector.tsx:17
Function
FireworksLogo
({ ...props })
src/components/ui/icon/custom-icons.tsx:384
Function
GeminiLogo
()
src/components/ui/icon/custom-icons.tsx:219
Function
GroqLogo
({ ...props })
src/components/ui/icon/custom-icons.tsx:326
Function
Heading
({ children, size, fontSize, className })
src/components/ui/typography/Heading/Heading.tsx:9
Function
Heading1
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:127
Function
Heading1
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:148
Function
Heading2
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:131
Function
Heading2
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:152
Function
Heading3
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:135
Function
Heading3
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:156
Function
Heading4
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:139
Function
Heading4
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:160
Function
Heading5
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:143
Function
Heading5
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:164
Function
Heading6
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:147
Function
Heading6
({ className, ...props }: HeadingProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:171
Function
HistoryBlankStateIcon
()
src/components/chat/Sidebar/Sessions/SessionBlankState.tsx:5
Function
Home
()
src/app/page.tsx:6
Function
HorizontalRule
({ className, ...props }: HorizontalRuleProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:104
Function
HorizontalRule
({ className, ...props }: HorizontalRuleProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:117
Function
Icon
({ type, size = 'sm', className, color, disabled = false })
src/components/ui/icon/Icon.tsx:8
Function
Images
({ images }: { images: ImageData[] })
src/components/chat/ChatArea/Messages/Multimedia/Images/Images.tsx:6
Function
Img
({ src, alt }: ImgProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:151
Function
Img
({ src, alt }: ImgProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:178
Function
InlineCode
({ children })
src/components/ui/typography/MarkdownRenderer/styles.tsx:124
Function
ItalicText
({ className, ...props }: ItalicTextProps)
src/components/ui/typography/MarkdownRenderer/inlineStyles.tsx:72
Function
ItalicText
({ className, ...props }: ItalicTextProps)
src/components/ui/typography/MarkdownRenderer/styles.tsx:82
Function
MarkdownRenderer
({ children, classname, inline = false })
src/components/ui/typography/MarkdownRenderer/MarkdownRenderer.tsx:13
Function
MessageArea
()
src/components/chat/ChatArea/MessageArea.tsx:8
Function
Messages
({ messages }: MessageListProps)
src/components/chat/ChatArea/Messages/Messages.tsx:154
Function
MistralLogo
({ ...props })
src/components/ui/icon/custom-icons.tsx:99
Function
ModeSelector
()
src/components/chat/Sidebar/ModeSelector.tsx:15
Function
ModelDisplay
({ model }: { model: string })
src/components/chat/Sidebar/Sidebar.tsx:45
Function
NewChatButton
()
src/components/chat/Sidebar/NewChatButton.tsx:8
Function
NewChatButton
({ disabled, onClick }: { disabled: boolean onClick: () => void })
src/components/chat/Sidebar/Sidebar.tsx:27
next →
1–100 of 152, ranked by callers