MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / ChatRequestToAPI

Function ChatRequestToAPI

go/mapping/llm.go:277–322  ·  view source on GitHub ↗

ChatRequestToAPI converts an ChatRequest into the api shape. Used by the engine-side backend.Client to forward chat calls to fh-backend.

(in *llmproxy.ChatRequest)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

inputToAPIFunction · 0.85
optionsToAPIFunction · 0.85
toolsToAPIFunction · 0.85

Tested by

no test coverage detected