MCPcopy Create free account

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

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

MethodAsValidationErrorLoc0
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
go/llmproxy/provider/mistral/types.gen.go:11230
MethodAsValidationErrorLoc1
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
go/llmproxy/provider/mistral/types.gen.go:11256
MethodAvailableModels
AvailableModels provides a mock function for the type MockProvider
go/llmproxy/mocks_test.go:205
MethodAvailableModels
AvailableModels is a helper method to define mock.On call
go/llmproxy/mocks_test.go:229
MethodAvailableModels
AvailableModels returns the static list of Anthropic models exposed by this provider.
go/llmproxy/provider/gemini/provider.go:70
MethodAvailableModels
AvailableModels returns the static model list built at construction time.
go/llmproxy/provider/selfhosted/provider.go:89
MethodAvailableModels
AvailableModels returns the static list of Mistral models exposed by this provider.
go/llmproxy/provider/mistral/provider.go:63
MethodAvailableModels
AvailableModels returns the static list of Anthropic models exposed by this provider.
go/llmproxy/provider/anthropic/provider.go:51
MethodAvailableModels
AvailableModels returns the static list of OpenAI models exposed by this provider.
go/llmproxy/provider/openai/provider.go:56
MethodAvailableModels
()
go/engine/backend/llm.go:70
MethodAvailableProviders
AvailableProviders returns info about all configured providers.
go/llmproxy/client.go:50
FunctionBadge
({ className, variant, ...props }: BadgeProps)
ts/workflow-builder/src/components/ui/badge.tsx:34
FunctionBuild
Build returns the set of providers enabled by the given configuration. Unconfigured providers are skipped; if a provider fails to initialize, it is lo
go/llmproxy/config/registry.go:23
FunctionBuilderLayout
({ functions, onOpenFunction, onCreateFunction, canvasTabs, onCanvasTabChange, onCanvasTabClose,
ts/workflow-builder/src/BuilderLayout.tsx:58
FunctionBuilderSidebar
({ canvasId, activeTab, onTabChange, onAddNode, nodeDefinitions, getAllCategories, onSelectNode,
ts/workflow-builder/src/panels/BuilderSidebar.tsx:53
FunctionCanvas
(props: CanvasProps)
ts/workflow-builder/src/Canvas.tsx:260
FunctionCanvasArea
({ canvasId, onConnect, onSelectionChange, onSelectionStart, onSelectionStop, onPaneClick, onAdd
ts/workflow-builder/src/Canvas.tsx:46
FunctionCanvasEditor
({ canvasId, viewportCenterRef, nodeDefinitions, onConnect, onAddNode, onAddNodeAndConnect, onSe
ts/workflow-builder/src/CanvasEditor.tsx:55
FunctionCanvasTabsToolbar
({ tabs, activeTabId, onTabChange, onTabClose, onTabReorder, }: CanvasTabsToolbarProps)
ts/workflow-builder/src/CanvasTabsToolbar.tsx:20
FunctionChannelConfigPanel
({ channel, onClose }: ChannelConfigPanelProps)
ts/workflow-builder/src/panels/ChannelConfigPanel.tsx:17
FunctionChannelsPanel
()
ts/workflow-builder/src/panels/ChannelsPanel.tsx:12
FunctionChat
Chat tests basic chat functionality of the provider.
go/llmproxy/test/providertest.go:23
MethodChat
Chat provides a mock function for the type MockProvider
go/llmproxy/mocks_test.go:251
MethodChat
Chat is a helper method to define mock.On call - ctx context.Context - req *ChatRequest
go/llmproxy/mocks_test.go:286
MethodChat
Chat sends a text prompt to the LLM and returns the generated response.
go/llmproxy/client.go:69
MethodChat
Chat sends a prompt to Gemini and returns the response.
go/llmproxy/provider/gemini/provider.go:84
MethodChat
Chat sends a chat completion request to the endpoint configured for the request's model.
go/llmproxy/provider/selfhosted/provider.go:120
MethodChat
Chat sends a text prompt to Mistral and returns the generated response.
go/llmproxy/provider/mistral/provider.go:68
MethodChat
Chat sends a prompt to Anthropic and returns the response.
go/llmproxy/provider/anthropic/provider.go:65
MethodChat
Chat sends a prompt to OpenAI and returns the response
go/llmproxy/provider/openai/provider.go:71
MethodChat
Chat provides a mock function for the type mockllmClient
go/llmproxy/agent/mocks_test.go:42
MethodChat
Chat is a helper method to define mock.On call - ctx context.Context - req *llmproxy.ChatRequest
go/llmproxy/agent/mocks_test.go:77
MethodChat
Chat provides a mock function for the type MockLlmClient
go/engine/mocks_test.go:931
MethodChat
Chat is a helper method to define mock.On call - ctx context.Context - req *llmproxy.ChatRequest
go/engine/mocks_test.go:966
MethodChat
Chat forwards to the client's Chat method, which routes to the backend's /llm/generate.
go/engine/backend/llm.go:75
FunctionChatRequestToAPI
ChatRequestToAPI converts an ChatRequest into the api shape. Used by the engine-side backend.Client to forward chat calls to fh-backend.
go/mapping/llm.go:277
FunctionChatRequestToDomain
ChatRequestToDomain converts HTTP API request to domain request
go/mapping/llm.go:36
FunctionChatResponseToAPI
ChatResponseToAPI converts domain response to HTTP API response
go/mapping/llm.go:92
FunctionChatResponseToDomain
ChatResponseToDomain converts a api ChatResponse back to llmproxy form.
go/mapping/llm.go:325
FunctionChatWithToolUse
ChatWithToolUse tests chat functionality with tool use.
go/llmproxy/test/providertest.go:67
MethodClose
()
go/logging/logger.go:133
MethodClose
()
go/logging/logger.go:139
MethodClose
Close waits for in-flight goroutines, bounded by httpCloseTimeout.
go/logging/httpwriter.go:80
MethodClose
Close provides a mock function for the type MockTrigger
go/engine/mocks_test.go:228
MethodClose
Close is a helper method to define mock.On call
go/engine/mocks_test.go:250
MethodClose
Close disconnects from the broker (250ms grace for in-flight messages) and closes every subscriber channel so blocked readers exit.
go/engine/transport/mqtt.go:63
MethodClose
Close is a no-op: sysfs has no file handles to release.
go/engine/driver/dac_linux.go:62
MethodClose
Close is a no-op: sysfs has no file handles to release. Kept so linuxADC satisfies the Driver interface.
go/engine/driver/adc_linux.go:64
MethodClose
Close releases the port; closing the handle unblocks the reader's kernel read so the goroutine exits. Idempotent.
go/engine/driver/serial_impl.go:86
MethodClose
()
go/engine/driver/adc_debug.go:42
MethodClose
()
go/engine/driver/gpio_debug.go:48
MethodClose
()
go/engine/driver/dac_debug.go:42
MethodClose
()
go/engine/driver/pwm_debug.go:47
MethodClose
Close releases every line request and the chip. line.Close blocks until any in-flight cdev event handler returns, so callers' onEvent callbacks have c
go/engine/driver/gpio_linux.go:60
MethodClose
Close disables and unexports every exported channel. Errors during teardown are logged but don't prevent other channels from being cleaned up. Idempot
go/engine/driver/pwm_linux.go:141
MethodClose
()
go/engine/node/trigger/serialreceive.go:62
MethodClose
()
go/engine/node/trigger/alarm.go:75
MethodClose
()
go/engine/node/trigger/onmqttmessage.go:84
MethodClose
()
go/engine/node/trigger/threshold.go:95
MethodClose
()
go/engine/node/trigger/pinedge.go:57
FunctionCoerce
Coerce converts any into a typed Value of the declared data type. Nil is treated as absence and returns the zero value without error; any other concre
go/engine/expr/value.go:141
FunctionCommandDialog
({ children, ...props }: CommandDialogProps)
ts/workflow-builder/src/components/ui/command.tsx:30
FunctionCommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
ts/workflow-builder/src/components/ui/command.tsx:131
MethodConfigure
(channel, freqHz int)
go/engine/driver/pwm_debug.go:52
MethodConfigure
Configure exports the channel (tolerating EBUSY if already exported), sets the period from freqHz, resets duty to zero, and enables the output. Safe t
go/engine/driver/pwm_linux.go:74
MethodConfigureInput
(line int, bias Bias, debounceMs int, onEvent func(rising bool))
go/engine/driver/gpio_debug.go:56
MethodConfigureInput
(offset int, bias Bias, debounceMs int, onEvent func(rising bool))
go/engine/driver/gpio_linux.go:79
MethodConfigureOutput
(line int)
go/engine/driver/gpio_debug.go:66
MethodConfigureOutput
ConfigureOutput requests the line as output (initial value 0).
go/engine/driver/gpio_linux.go:100
FunctionConsoleRow
({ entry }: { entry: ConsoleEntry })
ts/workflow-builder/src/panels/DebugConsolePanel.tsx:61
FunctionCustomEdge
({ id, source, type, sourceX, sourceY, targetX, targetY, data, selected, }: { id: string;
ts/workflow-builder/src/graph/CustomEdge.tsx:41
MethodDAC
(id string)
go/engine/driver/registry.go:84
FunctionDebugConsolePanel
()
ts/workflow-builder/src/panels/DebugConsolePanel.tsx:12
FunctionDebugContextPanel
()
ts/workflow-builder/src/panels/DebugContextPanel.tsx:31
FunctionDebugExternalIOPanel
({ canvasId, onStep, getNodeCategory }: DebugExternalIOPanelProps)
ts/workflow-builder/src/panels/DebugExternalIOPanel.tsx:22
MethodDeleteFile
DeleteFile provides a mock function for the type MockProvider
go/llmproxy/mocks_test.go:319
MethodDeleteFile
DeleteFile is a helper method to define mock.On call - ctx context.Context - fileID FileID
go/llmproxy/mocks_test.go:352
MethodDeleteFile
DeleteFile removes a previously uploaded file from the LLM service using its FileID.
go/llmproxy/client.go:87
MethodDeleteFile
DeleteFile removes a previously uploaded file from Gemini. Not supported in Vertex AI mode.
go/llmproxy/provider/gemini/provider.go:155
MethodDeleteFile
DeleteFile removes a previously uploaded file from Mistral
go/llmproxy/provider/mistral/provider.go:139
MethodDeleteFile
DeleteFile is not supported by Anthropic.
go/llmproxy/provider/anthropic/provider.go:113
MethodDeleteFile
DeleteFile removes a file from OpenAI
go/llmproxy/provider/openai/provider.go:115
MethodDeleteFile
(_ context.Context, _ llmproxy.FileID)
go/engine/backend/llm.go:86
FunctionDeviceManifestToDomain
DeviceManifestToDomain maps the wire DeviceManifest (the device hardware catalog bundled into EngineConfig) onto the engine domain type the driver reg
go/mapping/engine.go:101
FunctionDiagnosticGroupItem
({ group, onSelect }: { group: DiagnosticGroup; onSelect: () => void })
ts/workflow-builder/src/panels/DiagnosticsPanel.tsx:119
FunctionDiagnosticsPanel
({ canvasId, onSelectNode, onSelectEdge }: DiagnosticsPanelProps)
ts/workflow-builder/src/panels/DiagnosticsPanel.tsx:30
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
ts/workflow-builder/src/components/ui/dialog.tsx:77
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
ts/workflow-builder/src/components/ui/dialog.tsx:63
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
ts/workflow-builder/src/components/ui/dropdown-menu.tsx:173
MethodEXPECT
()
go/llmproxy/mocks_test.go:36
MethodEXPECT
()
go/llmproxy/mocks_test.go:96
MethodEXPECT
()
go/llmproxy/mocks_test.go:570
MethodEXPECT
()
go/llmproxy/mocks_test.go:873
MethodEXPECT
()
go/engine/mocks_test.go:38
MethodEXPECT
()
go/engine/mocks_test.go:166
MethodEXPECT
()
go/engine/mocks_test.go:398
MethodEXPECT
()
go/engine/mocks_test.go:592
MethodEXPECT
()
go/engine/mocks_test.go:766
MethodEXPECT
()
go/engine/mocks_test.go:844
MethodEXPECT
()
go/engine/mocks_test.go:926
← previousnext →1,001–1,100 of 2,454, ranked by callers