mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-11 13:55:03 +00:00
x
This commit is contained in:
parent
2358235342
commit
c9cfd2b39c
@ -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):
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user