Skip to content

refactor(opencode): extract session LLM request prep - #28560

Merged
kitlangton merged 1 commit into
devfrom
refactor/session-llm-request-prep
May 21, 2026
Merged

refactor(opencode): extract session LLM request prep#28560
kitlangton merged 1 commit into
devfrom
refactor/session-llm-request-prep

Conversation

@kitlangton

@kitlangton kitlangton commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • extract shared session LLM request preparation into src/session/llm/request.ts
  • keep native and AI SDK runtime paths consuming the same prepared system/messages/tools/params/headers shape
  • preserve existing GitLab workflow, OpenAI OAuth, Copilot noop-tool, plugin hook, and header behavior

Verification

  • bun run test -- test/session/llm-native.test.ts test/session/llm.test.ts
  • bun typecheck from packages/opencode
  • pre-push bun turbo typecheck

@kitlangton
kitlangton merged commit fb9d69e into dev May 21, 2026
13 checks passed
@kitlangton
kitlangton deleted the refactor/session-llm-request-prep branch May 21, 2026 01:44
sdeonvacation pushed a commit to sdeonvacation/opencode-x-old that referenced this pull request May 21, 2026
MyNameIsGMLi pushed a commit to MyNameIsGMLi/opencode that referenced this pull request May 22, 2026
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 22, 2026
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 22, 2026
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 22, 2026
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 22, 2026
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 31, 2026
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 31, 2026
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 31, 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
isaacfinnegan pushed a commit to isaacfinnegan/whispercode that referenced this pull request Jun 15, 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