From ef80f7ca2eecfd80a118b1290df5a5ec12a126f6 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Thu, 16 Jan 2025 15:04:50 -0800 Subject: [PATCH] add test for currency exchange --- tests/rest/api_prompt_gateway.rest | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/rest/api_prompt_gateway.rest b/tests/rest/api_prompt_gateway.rest index 537b06ac..db06cafe 100644 --- a/tests/rest/api_prompt_gateway.rest +++ b/tests/rest/api_prompt_gateway.rest @@ -100,3 +100,17 @@ Content-Type: application/json ], "stream": true } + +### currency conversion test +POST {{prompt_endpoint}}/v1/chat/completions HTTP/1.1 +Content-Type: application/json + +{ + "model": "--", + "messages": [ + { + "role": "user", + "content": "can you please convert 100 jpy" + } + ] +}