MCPcopy Create free account

hub / github.com/InferCore/InferCore / functions

Functions489 in github.com/InferCore/InferCore

MethodMetadata
()
internal/server/server_test.go:938
MethodMetadata
()
internal/server/server_test.go:956
MethodMetadata
()
internal/server/server_test.go:972
MethodName
()
internal/adapters/gemini/gemini.go:87
MethodName
()
internal/adapters/bedrock/bedrock.go:32
MethodName
()
internal/adapters/anthropic/anthropic.go:51
MethodName
()
internal/adapters/vllm/vllm.go:43
MethodName
()
internal/adapters/mock/mock.go:20
MethodName
()
internal/reliability/manager_test.go:15
MethodName
()
internal/reliability/manager_test.go:30
MethodName
()
internal/server/server_test.go:921
MethodName
()
internal/server/server_test.go:946
MethodName
()
internal/server/server_test.go:964
MethodName
()
internal/interfaces/interfaces.go:19
MethodName
()
internal/interfaces/interfaces.go:43
MethodName
()
internal/retrieval/http_kb.go:43
MethodName
Name implements RetrievalAdapter.
internal/retrieval/filekb.go:69
MethodName
()
internal/retrieval/meilisearch_kb.go:39
MethodName
()
internal/retrieval/opensearch_kb.go:43
FunctionNewBackend
NewBackend constructs a BackendAdapter for a backend config entry.
internal/adapters/factory.go:14
MethodRecordCompletion
(string, time.Time)
internal/inferexec/orchestrator_test.go:53
MethodRecordFallback
(string, string)
internal/inferexec/orchestrator_test.go:54
MethodRecordFirstToken
(string, time.Time)
internal/inferexec/orchestrator_test.go:52
MethodRecordStart
(string)
internal/inferexec/orchestrator_test.go:51
MethodRetrieve
Retrieve scores chunks by token overlap with query (v1 demo).
internal/retrieval/filekb.go:72
MethodRetrieve
(ctx context.Context, query string, opts map[string]any)
internal/retrieval/meilisearch_kb.go:41
MethodRetrieve
(ctx context.Context, query string, opts map[string]any)
internal/retrieval/opensearch_kb.go:45
MethodSelectRoute
(ctx context.Context, req types.AIRequest, state types.RuntimeState)
internal/inferexec/orchestrator_test.go:32
MethodShutdown
Shutdown flushes OTLP exporters (call on process exit).
internal/telemetry/otel_otlp_exporter.go:172
MethodSnapshot
(string)
internal/inferexec/orchestrator_test.go:55
MethodStatusSummary
()
internal/telemetry/otlp_http_stub_exporter.go:32
MethodStatusSummary
()
internal/telemetry/log_exporter.go:28
MethodStatusSummary
()
internal/telemetry/otel_otlp_exporter.go:163
FunctionTestAdapterConformance_Anthropic
(t *testing.T)
internal/adapters/conformance_test.go:61
FunctionTestAdapterConformance_AzureOpenAI
(t *testing.T)
internal/adapters/conformance_test.go:96
FunctionTestAdapterConformance_Gemini
(t *testing.T)
internal/adapters/conformance_test.go:172
FunctionTestAdapterConformance_GeminiVertex
(t *testing.T)
internal/adapters/conformance_test.go:131
FunctionTestAdapterConformance_Mock
(t *testing.T)
internal/adapters/conformance_test.go:20
FunctionTestAdapterConformance_VLLM
(t *testing.T)
internal/adapters/conformance_test.go:31
FunctionTestAdapter_Health
(t *testing.T)
internal/adapters/gemini/gemini_test.go:123
FunctionTestAdapter_Health
(t *testing.T)
internal/adapters/anthropic/anthropic_test.go:55
FunctionTestAdapter_InvokeAndMetadata
(t *testing.T)
internal/adapters/mock/mock_test.go:11
FunctionTestAdapter_InvokeNonStream
(t *testing.T)
internal/adapters/gemini/gemini_test.go:15
FunctionTestAdapter_InvokeNonStream
(t *testing.T)
internal/adapters/anthropic/anthropic_test.go:14
FunctionTestAdapter_InvokeVertexNonStream
(t *testing.T)
internal/adapters/gemini/gemini_test.go:68
FunctionTestAdapter_Metadata
(t *testing.T)
internal/adapters/anthropic/anthropic_test.go:82
FunctionTestAdapter_NameAndMetadata
(t *testing.T)
internal/adapters/bedrock/bedrock_test.go:9
FunctionTestBasicEngine_AgentRejectedWhenFeatureOff
(t *testing.T)
internal/policy/basic_engine_test.go:25
FunctionTestBasicEngine_BudgetExceeded
(t *testing.T)
internal/policy/basic_engine_test.go:95
FunctionTestBasicEngine_PriorityNormalized
(t *testing.T)
internal/policy/basic_engine_test.go:55
FunctionTestBasicEngine_RateLimit
(t *testing.T)
internal/policy/basic_engine_test.go:73
FunctionTestBasicEngine_UnknownTenantRejected
(t *testing.T)
internal/policy/basic_engine_test.go:42
FunctionTestClassify
(t *testing.T)
internal/pipelines/registry_test.go:9
FunctionTestError_ErrorString
(t *testing.T)
internal/upstream/errors_test.go:8
FunctionTestExecuteWithFallback_ForcesNonStreamOnFallbackWhenDisabled
(t *testing.T)
internal/reliability/manager_test.go:48
FunctionTestExecutionPlanForRequestType
(t *testing.T)
internal/inferexec/plan_test.go:9
FunctionTestHTTPJSONKB_Retrieve
(t *testing.T)
internal/retrieval/http_kb_test.go:14
FunctionTestHTTPLayerTimeouts_Overrides
(t *testing.T)
internal/server/server_test.go:586
FunctionTestHealth_Success200
(t *testing.T)
internal/server/server_test.go:710
FunctionTestHealth_UsesConfiguredPathAndAuth
(t *testing.T)
internal/adapters/vllm/vllm_test.go:138
FunctionTestInferBudgetHTTPStatus_DeadlineErrorButContextStillOk
(t *testing.T)
internal/inferexec/budget_test.go:37
FunctionTestInferBudgetHTTPStatus_DeadlineExceededWithExpiredContext
(t *testing.T)
internal/inferexec/budget_test.go:28
FunctionTestInferBudgetHTTPStatus_NoError
(t *testing.T)
internal/inferexec/budget_test.go:11
FunctionTestInferBudgetHTTPStatus_NonDeadlineError
(t *testing.T)
internal/inferexec/budget_test.go:18
FunctionTestInfer_Agent_NotImplemented501
(t *testing.T)
internal/server/server_test.go:410
FunctionTestInfer_AllBackendsUnhealthyRouteError
(t *testing.T)
internal/server/server_test.go:56
FunctionTestInfer_EmitsTraceRecord
(t *testing.T)
internal/server/server_test.go:781
FunctionTestInfer_ExecutionFailed502
(t *testing.T)
internal/server/server_test.go:621
FunctionTestInfer_FallbackSkipsUnhealthyBackend
(t *testing.T)
internal/server/server_test.go:645
FunctionTestInfer_GlobalDeadline504
(t *testing.T)
internal/server/server_test.go:597
FunctionTestInfer_InvalidInput400
(t *testing.T)
internal/server/server_test.go:493
FunctionTestInfer_InvalidJSON400
(t *testing.T)
internal/server/server_test.go:513
FunctionTestInfer_InvalidMaxTokens400
(t *testing.T)
internal/server/server_test.go:563
FunctionTestInfer_MethodNotAllowed405
(t *testing.T)
internal/server/server_test.go:541
FunctionTestInfer_OKWithInfercoreAPIKeyHeader
(t *testing.T)
internal/server/server_test.go:156
FunctionTestInfer_OverloadRejectsSecondRequest
(t *testing.T)
internal/server/server_test.go:111
FunctionTestInfer_PolicyRejected429
(t *testing.T)
internal/server/server_test.go:470
FunctionTestInfer_RAG_EmptyQuery400
(t *testing.T)
internal/server/server_test.go:288
FunctionTestInfer_RAG_NoKnowledgeBasesConfigured400
(t *testing.T)
internal/server/server_test.go:241
FunctionTestInfer_RAG_UnknownKnowledgeBase400
(t *testing.T)
internal/server/server_test.go:264
FunctionTestInfer_RAG_WithFileKB_Success200
(t *testing.T)
internal/server/server_test.go:201
FunctionTestInfer_SkipsUnhealthyRuleBackend
(t *testing.T)
internal/server/server_test.go:25
FunctionTestInfer_StreamUpstreamJSON_DegradeFlagInResponse
(t *testing.T)
internal/server/server_test.go:319
FunctionTestInfer_StreamUpstreamSSE_SuccessNoDegrade
(t *testing.T)
internal/server/server_test.go:366
FunctionTestInfer_Success200
(t *testing.T)
internal/server/server_test.go:431
FunctionTestInfer_TracingDisabledDoesNotEmitTrace
(t *testing.T)
internal/server/server_test.go:819
FunctionTestInfer_UnauthorizedWhenAPIKeyConfigured
(t *testing.T)
internal/server/server_test.go:82
FunctionTestInvoke_CustomAuthHeaderRawKey
(t *testing.T)
internal/adapters/vllm/vllm_test.go:111
FunctionTestInvoke_SendsBearerWhenAPIKeySet
(t *testing.T)
internal/adapters/vllm/vllm_test.go:81
FunctionTestInvoke_StreamRequestedDegradedWhenUpstreamReturnsJSON
(t *testing.T)
internal/adapters/vllm/vllm_test.go:15
FunctionTestInvoke_StreamSSEAccumulates
(t *testing.T)
internal/adapters/vllm/vllm_test.go:48
FunctionTestInvoke_Upstream5xxClassification
(t *testing.T)
internal/adapters/vllm/vllm_test.go:163
FunctionTestIsValidTrigger
(t *testing.T)
internal/fallback/triggers_test.go:5
FunctionTestLoad_DefaultBackendNotFound
(t *testing.T)
internal/config/config_test.go:88
FunctionTestLoad_DefaultExporterFromOTLPEndpoint
(t *testing.T)
internal/config/config_test.go:256
FunctionTestLoad_DuplicateBackendName
(t *testing.T)
internal/config/config_test.go:63
FunctionTestLoad_DuplicateRoutingRuleName
(t *testing.T)
internal/config/config_test.go:134
FunctionTestLoad_ExpandsEnvVarsInYAML
(t *testing.T)
internal/config/config_test.go:444
FunctionTestLoad_FallbackRuleInvalidTrigger
(t *testing.T)
internal/config/config_test.go:185
FunctionTestLoad_FallbackRuleRequiresTrigger
(t *testing.T)
internal/config/config_test.go:160
← previousnext →301–400 of 489, ranked by callers