Skip to content

Comments

feat(api): add system_instruction and conversation continuity#115

Merged
seanbrar merged 4 commits intomainfrom
release/v1.1
Feb 20, 2026
Merged

feat(api): add system_instruction and conversation continuity#115
seanbrar merged 4 commits intomainfrom
release/v1.1

Conversation

@seanbrar
Copy link
Owner

Summary

Adds a global system_instruction configuration option and implements conversation continuity (history and continue_from) specifically for the OpenAI provider in v1.1.

Related issue

None

Test plan

I have verified these changes locally using the project's verification suite.

  • Architectural Guarantee / Boundary Coverage: Added new E2E API logic in tests/test_api.py testing the system instructions and roundtripping of the conversation state.
  • Trivial Delegation: Ensured OpenAI parameters are accurately mapped and routed to the OpenAI Responses API (tests/test_providers.py).
  • Integration: Ran make check locally, confirming 100% pass rate for Ruff format/linting, MyPy type checks, and 71 Pytest test cases.

Notes

  • delivery_mode="deferred" remains intentionally reserved.
  • Conversation continuity is currently OpenAI-only, as Gemini is not yet supported for this feature in Pollux. The provider capability matrix has been updated to reflect this explicitly.

@seanbrar seanbrar merged commit 3e5a683 into main Feb 20, 2026
18 checks passed
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

❌ Patch coverage is 95.65217% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pollux/providers/openai.py 88.88% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

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