Repository navigation
Conversation
Signed-off-by: Anand Pant <anand@shpit.dev>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a native
openai-decisionsprovider for typed judgments at/v1/decisions, with sync/async routing. This is a draft for design review, not a merge-ready contract expansion.This is a focused port onto upstream 2.4.0 (
1ae98203f643059f0c103933c80ab0e7f68c5f26), not an import of DSPy's older 2.2.0 integration branch or its unrelated downstream patches. No runtime dependency is added.decisionsevidence envelope for DSPy.note/silent/refuseadaptation policy. Reject unmappable controls, unsupported content, tools and streaming.Consumer draft: stanfordnlp/dspy#10870
Verification at 323e1d5
discovery, whose closed expected provider list does not yet containopenai-decisions. The contract checkout was not modified to make the new adapter pass. Existing request/response/stream fixture skips remain.Before ready for merge
CONTRACT_PINto the accepted contract commit and rerun the pinned harness.Gemini/OpenRouter Decisions use a different wire codec and provider limits. A separate integration fork exercises them, including PDFs; this PR deliberately does not claim direct Gemini support or inherit OpenAI limits into a Gemini adapter.