Skip to content

Conversation

TomeHirata
Copy link
Collaborator

@TomeHirata TomeHirata commented Aug 28, 2025

Summary

  • add use_developer_role option to LM
  • translate system messages to developer when enabled for responses API
  • test developer role replacement
  • skipped validation as this is explicit optin

Testing

  • pytest tests/clients/test_lm.py::test_lm_replaces_system_with_developer_role -q

https://chatgpt.com/codex/tasks/task_e_68b016a091f8832a9093a5f238e86adc

@TomeHirata TomeHirata changed the title feat: optionally use developer role Use developer role in response API Aug 28, 2025
@TomeHirata TomeHirata requested review from dilarasoylu, okhat and arnavsinghvi11 and removed request for dilarasoylu August 28, 2025 09:17
@dilarasoylu
Copy link
Collaborator

Is this a change we need to support on the fine-tuning side (e.g. will this data ever be used for fine-tuning)?

@TomeHirata TomeHirata merged commit c1c27b4 into main Sep 1, 2025
10 checks passed
cameronraysmith pushed a commit to cameronraysmith/dspy that referenced this pull request Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants