This commit is contained in:
Eugene Yurtsev 2025-05-30 14:33:59 -04:00
parent 2358235342
commit c9cfd2b39c
2 changed files with 3 additions and 1 deletions

View File

@ -3056,7 +3056,8 @@ def _construct_responses_api_payload(
if tool["type"] == "image_generation" and "partial_images" in tool: if tool["type"] == "image_generation" and "partial_images" in tool:
raise NotImplementedError( raise NotImplementedError(
"Partial image generation is not yet supported via the LangChain ChatOpenAI client. " "Partial image generation is not yet supported "
"via the LangChain ChatOpenAI client. "
) )
payload["tools"] = new_tools payload["tools"] = new_tools
if tool_choice := payload.pop("tool_choice", None): if tool_choice := payload.pop("tool_choice", None):

View File

@ -453,6 +453,7 @@ def test_mcp_builtin() -> None:
[approval_message], previous_response_id=response.response_metadata["id"] [approval_message], previous_response_id=response.response_metadata["id"]
) )
@pytest.mark.skip(reason="Re-enable once VCR is properly set up.") @pytest.mark.skip(reason="Re-enable once VCR is properly set up.")
@pytest.mark.vcr() @pytest.mark.vcr()
def test_image_generation_streaming() -> None: def test_image_generation_streaming() -> None: