MCPcopy Create free account

hub / github.com/ForestHubAI/edge-agents / functions

Functions2,454 in github.com/ForestHubAI/edge-agents

MethodSetup
Setup is a no-op: the logger is wired once at engine boot, not per channel.
go/engine/channel/log.go:23
MethodSetup
()
go/engine/channel/adc.go:17
MethodSetup
Setup is called by the builder after all edges (including tool edges) are wired but before Execute can fire. It materialises the llmproxy agent: tool
go/engine/node/agent.go:118
MethodSetup
(_ context.Context)
go/engine/node/trigger/alarm.go:60
FunctionShell
({ bg = "bg-card", pad = false, children, }: { bg?: string; pad?: boolean; children: ReactNode; })
ts/workflow-builder/src/RightConfigPanel.tsx:258
FunctionSliceErr
SliceErr maps a slice of type A to a slice of type B, allowing for error handling, passing pointers to mappingFunc
go/mapping/util.go:17
FunctionStrictObject
StrictObject builds a strict JSON object schema from the given properties. All properties are marked required and additionalProperties is disallowed,
go/llmproxy/schemautil/schemautil.go:86
MethodString
()
go/llmproxy/tools.go:43
MethodString
()
go/llmproxy/tools.go:60
MethodString
String provides a mock function for the type MockInputItem
go/llmproxy/mocks_test.go:101
MethodString
String is a helper method to define mock.On call
go/llmproxy/mocks_test.go:123
MethodString
()
go/llmproxy/input.go:18
FunctionStructuredResponse
StructuredResponse tests chat functionality with structured response formats.
go/llmproxy/test/providertest.go:37
MethodSubscribe
Subscribe returns a buffered channel that receives a value every time the variable is Set. Only subscribe during Setup, or you'll race the state-runne
go/engine/scope.go:87
MethodSubscribe
(filter string, qos byte)
go/engine/transport/mqtt.go:85
MethodSubscribe
Subscribe prepends the configured SubscribePrefix to filter and forwards to the transport.
go/engine/channel/mqtt.go:35
MethodSubscribe
Subscribe appends a buffered channel to the fanout list and returns it; call during build, before the driver starts producing.
go/engine/channel/channel.go:36
FunctionTestAgentAnswersImmediately
TestAgentAnswersImmediately tests that an agent can provide an immediate answer without tool calls.
go/llmproxy/agent/runner_test.go:35
FunctionTestAgentAsTool
TestAgentAsTool tests using an agent as a tool.
go/llmproxy/agent/runner_test.go:136
FunctionTestAgentHandoff
TestAgentHandoff tests the handoff functionality between agents.
go/llmproxy/agent/runner_test.go:203
FunctionTestAgent_ApplyStructuredOutputs
(t *testing.T)
go/engine/node/agent_test.go:213
FunctionTestAgent_BuildResponseFormat
(t *testing.T)
go/engine/node/agent_test.go:148
FunctionTestAgent_Next
(t *testing.T)
go/engine/node/agent_test.go:349
FunctionTestAgent_Outputs
(t *testing.T)
go/engine/node/agent_test.go:113
FunctionTestAgent_Setup
(t *testing.T)
go/engine/node/agent_test.go:299
FunctionTestAlarm_NextDelay
(t *testing.T)
go/engine/node/trigger/alarm_test.go:92
FunctionTestApplyDeclaration
(t *testing.T)
go/engine/scope_test.go:209
FunctionTestApplyOutput
(t *testing.T)
go/engine/scope_test.go:156
FunctionTestAsInputItems
(t *testing.T)
go/llmproxy/input_test.go:14
FunctionTestAvailableModels
--- AvailableModels Tests ---
go/llmproxy/provider/selfhosted/provider_test.go:147
FunctionTestBackendProvider_UploadDeleteReturnNotSupported
TestBackendProvider_UploadDeleteReturnNotSupported guards the deliberate non-implementation of file-related provider methods: the backend wire protoco
go/engine/backend/llm_test.go:140
FunctionTestBranchingNode
(t *testing.T)
go/engine/node_test.go:84
FunctionTestBuildBranchingPrompt
(t *testing.T)
go/engine/node/agent_test.go:88
FunctionTestChat
TestChat tests basic chat functionality of the provider.
go/llmproxy/provider/gemini/provider_test.go:26
FunctionTestChat
--- Chat Tests ---
go/llmproxy/provider/selfhosted/provider_test.go:161
FunctionTestChat
TestChat tests basic chat functionality of the provider.
go/llmproxy/provider/mistral/provider_test.go:23
FunctionTestChat
(t *testing.T)
go/llmproxy/provider/anthropic/provider_test.go:28
FunctionTestChat
TestChat tests basic chat functionality of the provider.
go/llmproxy/provider/openai/provider_test.go:23
FunctionTestChatWithImageURL
(t *testing.T)
go/llmproxy/provider/anthropic/provider_test.go:40
FunctionTestChatWithOptions
--- Chat with Options Tests ---
go/llmproxy/provider/selfhosted/provider_test.go:370
FunctionTestChatWithStructuredOutput
--- Chat with Structured Output Tests ---
go/llmproxy/provider/selfhosted/provider_test.go:339
FunctionTestChatWithTools
--- Chat with Tools Tests ---
go/llmproxy/provider/selfhosted/provider_test.go:224
FunctionTestChatWithWebSearch
TestChatWithWebSearch tests chat with Google Search grounding.
go/llmproxy/provider/gemini/provider_test.go:39
FunctionTestChat_BackendError
(t *testing.T)
go/engine/backend/llm_test.go:121
FunctionTestChat_Success
(t *testing.T)
go/engine/backend/llm_test.go:89
FunctionTestChoiceToken
(t *testing.T)
go/engine/node/agent_test.go:47
FunctionTestClient_AvailableModels
(t *testing.T)
go/llmproxy/client_test.go:50
FunctionTestClient_Health
(t *testing.T)
go/llmproxy/client_test.go:23
FunctionTestConfigure
(t *testing.T)
go/logging/logger_test.go:109
FunctionTestDelay_Lifecycle
(t *testing.T)
go/engine/node/trigger/delay_test.go:18
FunctionTestDeleteFile
(t *testing.T)
go/llmproxy/provider/selfhosted/provider_test.go:410
FunctionTestDeleteFileNotSupported
(t *testing.T)
go/llmproxy/provider/anthropic/provider_test.go:58
FunctionTestEmbed
--- Embed Tests ---
go/llmproxy/provider/selfhosted/provider_test.go:419
FunctionTestEmbedding
TestEmbedding tests embedding generation.
go/llmproxy/provider/gemini/provider_test.go:52
FunctionTestEmbeddingDimension
TestEmbeddingDimension tests the dimension lookup for embedding models.
go/llmproxy/provider/gemini/provider_test.go:64
FunctionTestEmbeddingDimension
--- EmbeddingDimension Tests ---
go/llmproxy/provider/selfhosted/provider_test.go:511
FunctionTestEval_Arithmetic
(t *testing.T)
go/engine/expr/expression_test.go:75
FunctionTestEval_Boolean
(t *testing.T)
go/engine/expr/expression_test.go:170
FunctionTestEval_CastInCode
(t *testing.T)
go/engine/expr/expression_test.go:236
FunctionTestEval_CastInString
(t *testing.T)
go/engine/expr/expression_test.go:222
FunctionTestEval_Comparison
(t *testing.T)
go/engine/expr/expression_test.go:138
FunctionTestEval_ComparisonWithLiteral
(t *testing.T)
go/engine/expr/expression_test.go:278
FunctionTestEval_EmptyString
(t *testing.T)
go/engine/expr/expression_test.go:55
FunctionTestEval_FloatArithmetic
(t *testing.T)
go/engine/expr/expression_test.go:260
FunctionTestEval_LiteralString
(t *testing.T)
go/engine/expr/expression_test.go:65
FunctionTestEval_MultipleInterpolation
(t *testing.T)
go/engine/expr/expression_test.go:292
FunctionTestEval_Negation
(t *testing.T)
go/engine/expr/expression_test.go:194
FunctionTestEval_PlaceholderMismatch
(t *testing.T)
go/engine/expr/expression_test.go:250
FunctionTestEval_SingleRefPassthrough
(t *testing.T)
go/engine/expr/expression_test.go:208
FunctionTestEval_StringInterpolation
(t *testing.T)
go/engine/expr/expression_test.go:27
FunctionTestEval_StringPassthrough
(t *testing.T)
go/engine/expr/expression_test.go:41
FunctionTestExternalResourcesToDomain_Nil
(t *testing.T)
go/mapping/engine_test.go:61
FunctionTestExternalResourcesToDomain_NoSecretLeavesCredentialEmpty
(t *testing.T)
go/mapping/engine_test.go:49
FunctionTestExternalResourcesToDomain_RoutesArmsAndMergesSecrets
(t *testing.T)
go/mapping/engine_test.go:17
FunctionTestFileHandling
TestFileHandling tests file upload and deletion functionality of the provider.
go/llmproxy/provider/gemini/provider_test.go:74
FunctionTestFileHandling
TestFileHandling tests file upload and deletion functionality of the provider.
go/llmproxy/provider/mistral/provider_test.go:36
FunctionTestFileHandling
TestFileHandling tests file upload and deletion functionality of the provider.
go/llmproxy/provider/openai/provider_test.go:36
FunctionTestFilterEmitted
(t *testing.T)
go/engine/node_test.go:142
FunctionTestFunctionCall_Execute
(t *testing.T)
go/engine/node/functioncall_test.go:126
FunctionTestFunctionCall_Outputs
(t *testing.T)
go/engine/node/functioncall_test.go:91
FunctionTestFunction_Call
(t *testing.T)
go/engine/function_test.go:42
FunctionTestFunction_CallCancelStopsCycle
(t *testing.T)
go/engine/runner_test.go:47
FunctionTestGetProviders_BackendReturns4xx
(t *testing.T)
go/engine/backend/llm_test.go:46
FunctionTestGetProviders_Success
(t *testing.T)
go/engine/backend/llm_test.go:22
FunctionTestHealth
--- Health Tests ---
go/llmproxy/provider/selfhosted/provider_test.go:126
FunctionTestHealth_BackendError
(t *testing.T)
go/engine/backend/llm_test.go:77
FunctionTestHealth_Success
(t *testing.T)
go/engine/backend/llm_test.go:58
FunctionTestIf_Execute
(t *testing.T)
go/engine/node/if_test.go:19
FunctionTestLastUserInput
(t *testing.T)
go/llmproxy/input_test.go:32
FunctionTestLevelWriter
(t *testing.T)
go/logging/logger_test.go:93
FunctionTestLinearNode_AddTransition
(t *testing.T)
go/engine/node_test.go:19
FunctionTestLinearNode_Next
(t *testing.T)
go/engine/node_test.go:41
FunctionTestLogWrite_OmitsEmptyTag
(t *testing.T)
go/engine/channel/log_test.go:44
FunctionTestLogWrite_RespectsLoggerLevel
(t *testing.T)
go/engine/channel/log_test.go:56
FunctionTestLogWrite_StampsLevelSourceAndTag
(t *testing.T)
go/engine/channel/log_test.go:30
FunctionTestManager_Append
(t *testing.T)
go/engine/memory/manager_test.go:82
FunctionTestManager_Append_SizeCap
(t *testing.T)
go/engine/memory/manager_test.go:104
FunctionTestManager_Edit_FoundAndMissing
(t *testing.T)
go/engine/memory/manager_test.go:92
FunctionTestManager_Reconcile_DeclaredMetadataIsAuthoritative
(t *testing.T)
go/engine/memory/manager_test.go:66
FunctionTestManager_Reconcile_LocalWinsOverDeclared
(t *testing.T)
go/engine/memory/manager_test.go:52
← previousnext →1,901–2,000 of 2,454, ranked by callers