diff --git a/application/api/answer/routes.py b/application/api/answer/routes.py index f7c4c162..0acb2886 100644 --- a/application/api/answer/routes.py +++ b/application/api/answer/routes.py @@ -317,7 +317,7 @@ class Stream(Resource): conversation_id = data.get("conversation_id") prompt_id = data.get("prompt_id", "default") - index=data.get("index",None); + index=data.get("index",None) chunks = int(data.get("chunks", 2)) token_limit = data.get("token_limit", settings.DEFAULT_MAX_HISTORY) retriever_name = data.get("retriever", "classic")