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

Method Complete

api/client.go:915–922  ·  view source on GitHub ↗
(
	ctx context.Context,
	systemPrompt string,
	messages []map[string]any,
	opts CompleteOptions,
)

Source from the content-addressed store, hash-verified

913 "length": "max_tokens",
914 "content_filter": "refusal",
915 }
916
917 mapped := stopReasonMap[finishReason]
918 if mapped == "" {
919 if finishReason == "" {
920 mapped = "end_turn"
921 } else {
922 mapped = finishReason
923 }
924 }
925

Callers

nothing calls this directly

Calls 1

CompleteMethod · 0.65

Tested by

no test coverage detected