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

Function writeOpenAIStream

test/task_tools_parity_test.go:602–607  ·  view source on GitHub ↗
(w http.ResponseWriter, text string, inputTokens, outputTokens int)

Source from the content-addressed store, hash-verified

600 Destructive: coretools.BoolPtr(false),
601 }}, started: started}
602}
603
604func (t *blockingTool) Execute(ctx context.Context, _ coretools.ExecutionContext, _ any) (string, error) {
605 close(t.started)
606 <-ctx.Done()
607 return "", ctx.Err()
608}
609
610func writeOpenAIStream(w http.ResponseWriter, text string, inputTokens, outputTokens int) {

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected