49 lines
2.9 KiB
JSON
49 lines
2.9 KiB
JSON
[
|
|
{ "name": "Anthropic: none is given this one",
|
|
"options": { "system_prompt": "Be brief." },
|
|
"request": { "model": "m", "messages": [] },
|
|
"expect_request": { "model": "m", "messages": [], "system": "Be brief." } },
|
|
{ "name": "Anthropic: an agent's own stays without override",
|
|
"options": { "system_prompt": "Be brief." },
|
|
"request": { "model": "m", "system": "You code." } },
|
|
{ "name": "Anthropic: override appends a block after the cached ones",
|
|
"options": { "system_prompt": "Be brief.", "override": true },
|
|
"request": { "model": "m", "system": [{ "type": "text", "text": "You code.", "cache_control": { "type": "ephemeral" } }] },
|
|
"expect_request": { "model": "m", "system": [{ "type": "text", "text": "You code.", "cache_control": { "type": "ephemeral" } }, { "type": "text", "text": "Be brief." }] } },
|
|
{ "name": "Anthropic: override prepends to a string, New API's way",
|
|
"options": { "system_prompt": "Be brief.", "override": true, "position": "prepend" },
|
|
"request": { "model": "m", "system": "You code." },
|
|
"expect_request": { "model": "m", "system": "Be brief.\nYou code." } },
|
|
{ "name": "Chat: a system message first",
|
|
"ctx": { "protocol": "chat" },
|
|
"options": { "system_prompt": "Be brief." },
|
|
"request": { "model": "m", "messages": [{ "role": "user", "content": "hi" }] },
|
|
"expect_request": { "model": "m", "messages": [{ "role": "system", "content": "Be brief." }, { "role": "user", "content": "hi" }] } },
|
|
{ "name": "Chat: override on a developer message",
|
|
"ctx": { "protocol": "chat" },
|
|
"options": { "system_prompt": "Be brief.", "override": true },
|
|
"request": { "model": "m", "messages": [{ "role": "developer", "content": "You code." }, { "role": "user", "content": "hi" }] },
|
|
"expect_request": { "model": "m", "messages": [{ "role": "developer", "content": "You code.\nBe brief." }, { "role": "user", "content": "hi" }] } },
|
|
{ "name": "Responses: instructions",
|
|
"ctx": { "protocol": "responses" },
|
|
"options": { "system_prompt": "Be brief.", "override": true },
|
|
"request": { "model": "m", "instructions": "You code.", "input": [] },
|
|
"expect_request": { "model": "m", "instructions": "You code.\nBe brief.", "input": [] } },
|
|
{ "name": "Gemini: systemInstruction",
|
|
"ctx": { "protocol": "gemini" },
|
|
"options": { "system_prompt": "Be brief." },
|
|
"request": { "contents": [] },
|
|
"expect_request": { "contents": [], "systemInstruction": { "parts": [{ "text": "Be brief." }] } } },
|
|
{ "name": "only the agents named",
|
|
"ctx": { "agent": "codex" },
|
|
"options": { "system_prompt": "Be brief.", "agents": ["claude"] },
|
|
"request": { "model": "m" } },
|
|
{ "name": "only the models named",
|
|
"options": { "system_prompt": "Be brief.", "models": ["deepseek"] },
|
|
"request": { "model": "deepseek-chat" },
|
|
"expect_request": { "model": "deepseek-chat", "system": "Be brief." } },
|
|
{ "name": "no prompt, nothing done",
|
|
"options": {},
|
|
"request": { "model": "m" } }
|
|
]
|