MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / useOpenAICompatible

Function useOpenAICompatible

api/client.go:88–97  ·  view source on GitHub ↗
(model string, apiType string)

Source from the content-addressed store, hash-verified

86 systemPrompt string,
87 messages []map[string]any,
88 opts StructuredCompletionOptions,
89 ) (Response, error)
90}
91
92type LLMClient interface {
93 StreamChat(
94 ctx context.Context,
95 systemPrompt string,
96 messages []map[string]any,
97 tools []map[string]any,
98 options *LLMRequestOptions,
99 ) <-chan EventResult
100

Callers 1

CreateLLMClientFunction · 0.85

Calls 2

normalizeAPITypeFunction · 0.85
isOpenAICompatibleModelFunction · 0.85

Tested by

no test coverage detected