Repository navigation
fix(openai): extract nested Responses message text - #571
Merged
Seth Juarez (sethjuarez) merged 3 commits intoOct 16, 2026
Merged
Conversation
Run release git commands with argv lists so tag/version values are not interpreted by a shell. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 497512b4-8e78-461b-9e96-8e9af3fdb03c
Fall back to completed Responses message content when the top-level output_text convenience field is missing or empty. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 497512b4-8e78-461b-9e96-8e9af3fdb03c
Seth Juarez (sethjuarez)
force-pushed
the
sethjuarez/fix-python-release-shell
branch
from
October 16, 2026 04:47
7b69b30 to
8ddc2b5
Compare
Format the generated Responses fallback conformance assertion so CI ruff format passes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 497512b4-8e78-461b-9e96-8e9af3fdb03c
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
output_textis missing or emptyresponse.output[].content[].textoutput_textparts across affected runtimesValidation
cargo test -p prompty-openai responses_empty_output_text_message_content_fallbackcargo test -p prompty-openai responses_portable_assistant_messages_use_message_content_fallbackcargo test -p prompty test_processor_process_responses_empty_output_text_message_content_fallbackgo test ./model -run 'Test(OpenAIResponsesEmptyOutputTextFallsBackToMessageContent|ProcessorProcessResponsesEmptyOutputTextMessageContentFallback)'npm test --workspace @prompty/openai -- -t 'falls back to message content'npm test --workspace @prompty/core -- -t responses_empty_output_text_message_content_fallbackuv run pytest tests\model\test_processor_conformance.py -k 'responses_empty_output_text_message_content_fallback or responses_message_content_fallback' -qdotnet test Prompty.Core.Tests\Prompty.Core.Tests.csproj --filter "FullyQualifiedName~ResponsesEmptyOutputTextMessageContentFallback" --no-restoreruntime\java\gradlew.bat :prompty-openai:test --tests "com.microsoft.prompty.openai.ProcessVectorsTest" --no-daemonswift test --filter PipelineRuntimeTests/testOpenAIResponsesEmptyOutputTextFallsBackToMessageContentswift test --filter ProcessorConformanceTests/testVector19ProcessorProcessResponsesEmptyOutputTextMessageContentFallbackpython -m py_compile runtime\python\prompty\scripts\release.py$env:PYTHONIOENCODING='utf-8'; python runtime\python\prompty\scripts\release.py --dry-rungit diff --checkLive OpenAI RAPI testing reproduced the missing top-level
output_textshape and confirmed the fixed processor extracts nested final assistant text.Replaces #502.