MCPcopy Create free account

hub / github.com/AgentEvaluation/NHD / functions

Functions247 in github.com/AgentEvaluation/NHD

MethodgetMessageHistory
()
src/lib/langchain/memory/conversationMemory.ts:63
MethodgetMetricById
(metricId: string)
src/services/db/metricsService.ts:24
MethodgetMetrics
()
src/services/db/metricsService.ts:28
FunctiongetModelConfigHeaders
()
src/utils/model-config-checker.ts:8
MethodgetTestRuns
()
src/services/db/testRunService.ts:171
FunctionhandleClose
()
src/components/config/WarningDialog.tsx:34
FunctionhandleExecuteTest
(testId: string)
src/components/tools/test-runs/TestRunsDashboard.tsx:27
FunctionhandleFileChange
(e: React.ChangeEvent<HTMLInputElement>)
src/components/tools/ScenarioFileUpload.tsx:56
FunctionhandleFileUpload
(variation: TestVariation)
src/components/tools/TestCaseVariations.tsx:221
FunctionhandleKeyPress
(e: KeyboardEvent)
src/app/tools/test-cases/page.tsx:62
FunctionhandleProceed
()
src/components/tools/ScenarioFileUpload.tsx:161
FunctionhandleSaveConfig
()
src/components/config/ApiKeyConfig.tsx:59
FunctionhandleUnhandledRejection
(event: PromiseRejectionEvent)
src/components/common/ErrorBoundary.tsx:95
FunctionhandleWizardComplete
(config: any)
src/app/tools/page.tsx:20
FunctionisFeatureEnabled
(feature: keyof typeof FEATURES)
src/config/features.ts:31
MethodisTestComplete
* Check if a response indicates the test is complete
src/services/agents/claude/conversationHandler.ts:45
FunctionisValidEvaluation
(evaluation: any)
src/app/api/tools/generate-tests/route.ts:56
FunctionloadAgent
(agentId: string)
src/hooks/useAgentConfig.ts:64
FunctionmapToUIPersona
(dbPersona: any)
src/lib/utils.ts:17
MethodmemoryKeys
()
src/lib/langchain/memory/conversationMemory.ts:22
MethodprocessMessage
* Process a single conversation message * Handles API request, response parsing, and database operations
src/services/agents/claude/conversationProcessor.ts:25
Methodput
* Make a PUT request
src/lib/api-client.ts:126
MethodreconstructMemoryFromDb
(conversationId: string, memory: any)
src/services/db/conversationService.ts:98
Methodrender
()
src/components/common/ErrorBoundary.tsx:45
FunctionrequireEnterprise
(featureName: string)
src/config/features.ts:36
Methodreset
()
src/services/agents/types.ts:6
FunctionresetState
()
src/hooks/useTestExecution.ts:83
FunctionsafeAsync
( promise: Promise<T> )
src/lib/errors.ts:147
FunctionsaveEdit
()
src/components/tools/TestCaseVariations.tsx:130
FunctionsaveTest
()
src/hooks/useAgentConfig.ts:131
FunctionselectAllCases
()
src/components/tools/TestCaseVariations.tsx:181
FunctionsendTestRequest
()
src/components/tools/AgentConfigWizard.tsx:87
MethodsetContext
(context: ConversationContext)
src/lib/langchain/memory/conversationMemory.ts:59
FunctiontestManually
()
src/hooks/useAgentConfig.ts:102
Functiontoast
({ ...props }: Toast)
src/hooks/use-toast.tsx:142
FunctiontoggleSelectCase
(id: string)
src/app/tools/test-cases/page.tsx:99
Functionupdate
(props: ToasterToast)
src/hooks/use-toast.tsx:145
MethodupdateMetric
()
src/services/db/metricsService.ts:41
MethodupdatePersona
(personaId: string, data: any)
src/services/db/personaService.ts:81
FunctionupdateRun
(updatedRun: TestRun)
src/hooks/useTestRuns.ts:34
FunctionuseLocalStorage
(key: string, initialValue: T)
src/hooks/useLocalStorage.ts:4
FunctionuseSafeApiCalls
()
src/utils/error-handlers.ts:91
FunctionvalidateEvaluateAgentRequest
(data: unknown)
src/lib/validations.ts:38
MethodvalidateFullConversation
( fullConversation: string, scenario: string, expectedOutput: string, metrics?: any[]
src/services/agents/claude/validationService.ts:83
FunctionvalidateGenerateTestsRequest
(data: unknown)
src/lib/validations.ts:34
FunctionvalidateRequest
(schema: z.ZodSchema<T>, data: unknown)
src/lib/validations/api.ts:78
FunctionwithErrorHandling
( fn: (...args: Args) => Promise<T>, errorContext: ReturnType<typeof useErrorContext>, options: { se
src/utils/error-handlers.ts:10
← previous201–247 of 247, ranked by callers