mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-27 04:20:09 +00:00
93 lines
2.4 KiB
JSON
93 lines
2.4 KiB
JSON
{
|
|
"rule": "/v1/systemone refuses every Jev model id with 400 and {\"detail\": \"Unknown model: <id>\"}; no Jev id is mapped to Kai.",
|
|
"cases": [
|
|
{
|
|
"name": "jev-latest",
|
|
"path": "compat",
|
|
"send": [
|
|
{
|
|
"state": "I was charged twice for my March invoice. Please refund the duplicate.",
|
|
"questions": {
|
|
"billing": {
|
|
"type": "noul",
|
|
"instructions": "Is this about billing?",
|
|
"criteria": {
|
|
"true": "it concerns charges, invoices or refunds",
|
|
"false": "it concerns something else"
|
|
}
|
|
}
|
|
},
|
|
"model": "jev-latest"
|
|
}
|
|
],
|
|
"expect": {
|
|
"status": 400,
|
|
"error": "BadRequestError",
|
|
"message": "Unknown model: jev-latest",
|
|
"checks": [
|
|
"fastapi",
|
|
"request_id"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "jev-preview",
|
|
"path": "compat",
|
|
"send": [
|
|
{
|
|
"state": "I was charged twice for my March invoice. Please refund the duplicate.",
|
|
"questions": {
|
|
"billing": {
|
|
"type": "noul",
|
|
"instructions": "Is this about billing?",
|
|
"criteria": {
|
|
"true": "it concerns charges, invoices or refunds",
|
|
"false": "it concerns something else"
|
|
}
|
|
}
|
|
},
|
|
"model": "jev-preview"
|
|
}
|
|
],
|
|
"expect": {
|
|
"status": 400,
|
|
"error": "BadRequestError",
|
|
"message": "Unknown model: jev-preview",
|
|
"checks": [
|
|
"fastapi",
|
|
"request_id"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "jev-1.13.0",
|
|
"path": "compat",
|
|
"send": [
|
|
{
|
|
"state": "I was charged twice for my March invoice. Please refund the duplicate.",
|
|
"questions": {
|
|
"billing": {
|
|
"type": "noul",
|
|
"instructions": "Is this about billing?",
|
|
"criteria": {
|
|
"true": "it concerns charges, invoices or refunds",
|
|
"false": "it concerns something else"
|
|
}
|
|
}
|
|
},
|
|
"model": "jev-1.13.0"
|
|
}
|
|
],
|
|
"expect": {
|
|
"status": 400,
|
|
"error": "BadRequestError",
|
|
"message": "Unknown model: jev-1.13.0",
|
|
"checks": [
|
|
"fastapi",
|
|
"request_id"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|