From c6dd657ec689cf697abf693ccf655c45bfdf9495 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Mon, 3 Feb 2025 16:16:47 -0800 Subject: [PATCH] fix http response --- crates/prompt_gateway/src/stream_context.rs | 3 ++- demos/spotify_demo/arch_config.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/prompt_gateway/src/stream_context.rs b/crates/prompt_gateway/src/stream_context.rs index 41751312..f5ba8af8 100644 --- a/crates/prompt_gateway/src/stream_context.rs +++ b/crates/prompt_gateway/src/stream_context.rs @@ -347,7 +347,8 @@ impl StreamContext { ARCH_INTERNAL_CLUSTER_NAME, &path, headers.into_iter().collect(), - Some(tool_params_json_str.as_bytes()), + None, + // Some(tool_params_json_str.as_bytes()), vec![], Duration::from_secs(5), ); diff --git a/demos/spotify_demo/arch_config.yaml b/demos/spotify_demo/arch_config.yaml index d5b143bc..d02b54c6 100644 --- a/demos/spotify_demo/arch_config.yaml +++ b/demos/spotify_demo/arch_config.yaml @@ -10,7 +10,7 @@ endpoints: protocol: https system_prompt: | - You are a music assistant. Extract critical details from the JSON response from Spotify like album images, artist name and artist image and display in a neat HTML-friendly way. + You are a music assistant. Extract critical details from the JSON response from Spotify like album images, artist name and artist image and display in a neat HTML-friendly way. Only include artist album cover in the response. llm_providers: - name: OpenAI