mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-15 02:52:37 +00:00
a lot of simplification finally. all works
This commit is contained in:
parent
b47bf340db
commit
00fd27be1f
39 changed files with 16027 additions and 1969 deletions
|
|
@ -41,32 +41,33 @@ basic_test_cases = [
|
|||
),
|
||||
id="saturn",
|
||||
),
|
||||
pytest.param(
|
||||
ResponsesTestCase(
|
||||
input=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": [
|
||||
{
|
||||
"type": "input_text",
|
||||
"text": "what teams are playing in this image?",
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
"content": [
|
||||
{
|
||||
"type": "input_image",
|
||||
"image_url": "https://upload.wikimedia.org/wikipedia/commons/3/3b/LeBron_James_Layup_%28Cleveland_vs_Brooklyn_2018%29.jpg",
|
||||
}
|
||||
],
|
||||
},
|
||||
],
|
||||
expected="brooklyn nets",
|
||||
),
|
||||
id="image_input",
|
||||
),
|
||||
# TODO: Add image input test case, since this test case got Nerfed by OpenAI with a refusal
|
||||
# pytest.param(
|
||||
# ResponsesTestCase(
|
||||
# input=[
|
||||
# {
|
||||
# "role": "user",
|
||||
# "content": [
|
||||
# {
|
||||
# "type": "input_text",
|
||||
# "text": "what teams are playing in this image?",
|
||||
# }
|
||||
# ],
|
||||
# },
|
||||
# {
|
||||
# "role": "user",
|
||||
# "content": [
|
||||
# {
|
||||
# "type": "input_image",
|
||||
# "image_url": "https://upload.wikimedia.org/wikipedia/commons/3/3b/LeBron_James_Layup_%28Cleveland_vs_Brooklyn_2018%29.jpg",
|
||||
# }
|
||||
# ],
|
||||
# },
|
||||
# ],
|
||||
# expected="brooklyn nets",
|
||||
# ),
|
||||
# id="image_input",
|
||||
# ),
|
||||
]
|
||||
|
||||
# Multi-turn test cases
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue