Skip to content

test(app): route prompt e2e through mock llm#20383

Merged
kitlangton merged 3 commits into
devfrom
test/app-e2e-llm-server-followup
Apr 1, 2026
Merged

test(app): route prompt e2e through mock llm#20383
kitlangton merged 3 commits into
devfrom
test/app-e2e-llm-server-followup

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

  • extend the shared TestLLMServer to serve OpenAI Responses API streams so app e2e can reuse the same mock LLM abstraction
  • switch the prompt reply e2e to update backend config through the supported global config API and assert the mock server is actually called
  • keep the active model on a built-in OpenAI model while routing its transport to the mock server, including the extra queued response used by the title request

@kitlangton kitlangton merged commit 9a1c9ae into dev Apr 1, 2026
8 checks passed
@kitlangton kitlangton deleted the test/app-e2e-llm-server-followup branch April 1, 2026 12:28
jeromelau pushed a commit to jeromelau/opencode that referenced this pull request Apr 2, 2026
balcsida pushed a commit to balcsida/opencode that referenced this pull request Apr 8, 2026
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant