Skip to content

fix(model): send OpenCode session headers - #512

Merged
mohitranka merged 1 commit into
mainfrom
fix/opencode-session-header
Sep 4, 2026
Merged

mohitranka merged 1 commit into
mainfrom
fix/opencode-session-header

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Forward Forge session IDs into model requests.
  • Send x-opencode-session and User-Agent: forge on OpenCode routes.
  • Keep other provider headers unchanged.

Validation

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo test --workspace --all-targets --locked --no-fail-fast

@mohitranka
mohitranka merged commit fffd581 into main Sep 4, 2026
3 checks passed
@mohitranka
mohitranka deleted the fix/opencode-session-header branch September 4, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant