Skip to content

fix: reduce proxy-induced continuation bias in translated turns#22

Open
edxeth wants to merge 1 commit intoQuorinex:mainfrom
edxeth:fix/proxy-continuation-bias
Open

fix: reduce proxy-induced continuation bias in translated turns#22
edxeth wants to merge 1 commit intoQuorinex:mainfrom
edxeth:fix/proxy-continuation-bias

Conversation

@edxeth
Copy link
Contributor

@edxeth edxeth commented Feb 24, 2026

Summary

  • Remove translator behaviors that bias prompts toward continuation-style outputs by trimming assistant-prefill history and tightening conversation anchoring.
  • Add request-shape validation for both /v1/messages and /v1/chat/completions to reject assistant-prefill final turns and empty user-context payloads early.
  • Keep tool-result continuation explicit but neutral (Tool results:), and add regression tests for synthetic-anchor ID behavior and validator coverage.

Verification

  • go test ./...
  • go build ./...

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