From 37081922accae53ecf7b16ff2c893dc1faee11e5 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Thu, 6 Feb 2025 11:36:16 -0800 Subject: [PATCH] address pr feedback --- demos/stock_exchange/arch_config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/demos/stock_exchange/arch_config.yaml b/demos/stock_exchange/arch_config.yaml index 6d80658b..c763d4ca 100644 --- a/demos/stock_exchange/arch_config.yaml +++ b/demos/stock_exchange/arch_config.yaml @@ -34,10 +34,9 @@ prompt_targets: description: Stock symbol required: true type: str - in_path: true endpoint: name: twelvedata_api - path: /quote?symbol={symbol} + path: /quote http_headers: Authorization: "apikey $TWELVEDATA_API_KEY" system_prompt: | @@ -50,15 +49,16 @@ prompt_targets: description: Stock symbol required: true type: str - in_path: true - # - name: interval - # description: Time interval - # default: 1h - # type: str - # in_path: true + - name: interval + description: Time interval + default: 1day + enum: + - 1h + - 1day + type: str endpoint: name: twelvedata_api - path: /time_series?symbol={symbol}&interval=1day + path: /time_series http_headers: Authorization: "apikey $TWELVEDATA_API_KEY" system_prompt: |