MCPcopy Create free account

hub / github.com/Nutlope/llamatutor / functions

Functions33 in github.com/Nutlope/llamatutor

↓ 2 callersFunctionhandleChat
(messages?: { role: string; content: string }[])
app/page.tsx:39
↓ 2 callersFunctionhandleInitialChat
()
app/page.tsx:28
↓ 2 callersFunctiononSubmit
()
components/FinalInputArea.tsx:24
↓ 1 callersFunctionTogetherAIStream
(payload: TogetherAIStreamPayload)
utils/TogetherAIStream.ts:28
↓ 1 callersFunctiongetIPAddress
(req: NextRequest)
app/api/getChat/route.ts:56
↓ 1 callersFunctiongetSystemPrompt
( finalResults: { content: string }[], ageGroup: string, )
utils/utils.ts:75
↓ 1 callersFunctionhandleClickSuggestion
(value: string)
components/Hero.tsx:25
↓ 1 callersFunctionhandleSourcesAndChat
(question: string)
app/page.tsx:99
↓ 1 callersFunctionscrollToBottom
()
components/Chat.tsx:32
FunctionChat
({ messages, disabled, loading, promptValue, setPromptValue, setMessages, handleChat, topic, }
components/Chat.tsx:7
FunctionFinalInputArea
({ promptValue, setPromptValue, disabled, messages, setMessages, handleChat, })
components/FinalInputArea.tsx:16
FunctionFooter
()
components/Footer.tsx:4
FunctionHeader
()
components/Header.tsx:3
FunctionHero
({ promptValue, setPromptValue, handleChat, ageGroup, setAgeGroup, handleInitialChat, })
components/Hero.tsx:17
FunctionHome
()
app/page.tsx:16
FunctionInitialInputArea
({ promptValue, setPromptValue, disabled, handleInitialChat, ageGroup, setAgeGroup, })
components/InitialInputArea.tsx:15
FunctionLogo
(props: ComponentPropsWithoutRef<"svg">)
components/logo.tsx:3
FunctionPOST
(request: NextRequest)
app/api/getChat/route.ts:22
FunctionPOST
(request: Request)
app/api/getSources/route.ts:6
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:40
FunctionSourceCard
({ source }: { source: { name: string; url: string } })
components/Sources.tsx:42
FunctionSources
({ sources, isLoading, }: { sources: { name: string; url: string }[]; isLoading: boolean; })
components/Sources.tsx:3
FunctionTypeAnimation
()
components/TypeAnimation.tsx:1
FunctioncleanedText
(text: string)
utils/utils.ts:3
FunctionfetchWithTimeout
( url: string, options = {}, timeout = 3000, )
utils/utils.ts:18
FunctionhandleKeyDown
(e: KeyboardEvent<HTMLTextAreaElement>)
components/InitialInputArea.tsx:23
FunctionhandleKeyDown
(e: KeyboardEvent<HTMLTextAreaElement>)
components/FinalInputArea.tsx:31
FunctionhandleScroll
()
components/Chat.tsx:48
FunctiononParse
(event: ParsedEvent | ReconnectInterval)
utils/TogetherAIStream.ts:46
FunctiononParse
(event: ParsedEvent | ReconnectInterval)
app/page.tsx:60
Functionproxy
(req: NextRequest)
proxy.ts:3
Functionstart
(controller)
utils/TogetherAIStream.ts:44
Functiontransform
(chunk, controller)
utils/TogetherAIStream.ts:79