Files
CLIProxyAPI/internal/runtime
Luis Pater c2f402b456 fix(meta): send X-Tbh-Contributor-Mode header only for contributor models
- Remove the unconditional X-Tbh-Contributor-Mode header from applyMetaClientIdentity so standard Meta model requests do not send the training opt-in signal.
- Resolve the effective upstream model after payload rules and set X-Tbh-Contributor-Mode: 1 only when the target model ends with -contributor.
- Add regression tests covering standard and -contributor models across Execute, ExecuteStream, and payload model overrides.

Closes: #7272
2026-11-05 19:37:31 +08:00
..