(ctx context.Context, userInput string, state *agent.AgentState, sessionID ...string)
| 537 | type prepareSubmitEngine struct{} |
| 538 | |
| 539 | func (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 | |
| 548 | func TestUIRuntimeRunSubmitMessagePreparesBackendBeforeMountLikePython(t *testing.T) { |
| 549 | backend := &prepareBackend{} |
nothing calls this directly
no test coverage detected