mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-11 13:55:03 +00:00
openai: format
This commit is contained in:
parent
7c0d1cb324
commit
79bc8259e5
@ -2532,11 +2532,7 @@ def test_convert_to_v1_from_chat_completions(
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{"type": "image", "base64": "...", "id": "img_123"},
|
||||||
"type": "image",
|
|
||||||
"base64": "...",
|
|
||||||
"id": "img_123",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "non_standard",
|
"type": "non_standard",
|
||||||
"value": {"type": "something_else", "foo": "bar"},
|
"value": {"type": "something_else", "foo": "bar"},
|
||||||
@ -2736,11 +2732,7 @@ def test_convert_from_v1_to_responses(
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{"type": "image", "base64": "...", "id": "img_123"},
|
||||||
"type": "image",
|
|
||||||
"base64": "...",
|
|
||||||
"id": "img_123",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "non_standard",
|
"type": "non_standard",
|
||||||
"value": {"type": "something_else", "foo": "bar"},
|
"value": {"type": "something_else", "foo": "bar"},
|
||||||
|
Loading…
Reference in New Issue
Block a user