This commit is contained in:
Adil Hafeez 2025-03-21 15:45:55 -07:00
parent 0ba7d73284
commit 66d4a91372
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,19 @@
POST http://localhost:10000/v1/chat/completions
Content-Type: application/json
{
"messages": [
{
"role": "user",
"content": "I bought a package recently and it not working properly"
}
]
}
HTTP 200
[Asserts]
header "content-type" == "application/json"
jsonpath "$.model" matches /^gpt-4o-2/
jsonpath "$.metadata.x-arch-state" != null
jsonpath "$.usage" != null
jsonpath "$.choices[0].message.content" != null
jsonpath "$.choices[0].message.role" == "assistant"

View file

@ -93,6 +93,7 @@ AGENTS = {
"escalate_to_human": Agent(
role="human escalation agent",
instructions="Escalate issues to a human.",
# skipping model name here as arch gateway will pick the default model from the config file
),
"unknown_agent": Agent(
role="general assistant", instructions="Assist the user in general queries."