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

Method SubmitMessage

test/ui_runtime_parity_test.go:539–546  ·  view source on GitHub ↗
(ctx context.Context, userInput string, state *agent.AgentState, sessionID ...string)

Source from the content-addressed store, hash-verified

537type prepareSubmitEngine struct{}
538
539func (e *prepareSubmitEngine) SubmitMessage(ctx context.Context, userInput string, state *agent.AgentState, sessionID ...string) <-chan agent.StreamEvent {
540 out := make(chan agent.StreamEvent)
541 go func() {
542 defer close(out)
543 out <- agent.NewStreamEvent("done", "", nil)
544 }()
545 return out
546}
547
548func TestUIRuntimeRunSubmitMessagePreparesBackendBeforeMountLikePython(t *testing.T) {
549 backend := &prepareBackend{}

Callers

nothing calls this directly

Calls 1

NewStreamEventFunction · 0.92

Tested by

no test coverage detected