mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 16:56:24 +02:00
20 lines
462 B
Text
20 lines
462 B
Text
POST http://localhost:10000/v1/chat/completions
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"messages": [
|
|
{
|
|
"role": "user",
|
|
"content": "convert 100 eur"
|
|
}
|
|
],
|
|
"model": "none"
|
|
}
|
|
HTTP 200
|
|
[Asserts]
|
|
header "content-type" == "application/json"
|
|
jsonpath "$.model" matches /^gpt-4o/
|
|
jsonpath "$.metadata.x-arch-state" != null
|
|
jsonpath "$.usage" != null
|
|
jsonpath "$.choices[0].message.content" != null
|
|
jsonpath "$.choices[0].message.role" == "assistant"
|