diff --git a/src/khoj/routers/helpers.py b/src/khoj/routers/helpers.py index 9cfc492a..8339323e 100644 --- a/src/khoj/routers/helpers.py +++ b/src/khoj/routers/helpers.py @@ -1913,7 +1913,7 @@ def scheduled_chat( raw_response = requests.post(url, headers=headers, json=json_payload, allow_redirects=False) # Handle redirect manually if necessary - if raw_response.status_code in [301, 302]: + if raw_response.status_code in [301, 302, 308]: redirect_url = raw_response.headers["Location"] logger.info(f"Redirecting to {redirect_url}") raw_response = requests.post(redirect_url, headers=headers, json=json_payload) diff --git a/src/khoj/utils/helpers.py b/src/khoj/utils/helpers.py index 4e16d6b5..e3cab3c7 100644 --- a/src/khoj/utils/helpers.py +++ b/src/khoj/utils/helpers.py @@ -355,7 +355,7 @@ command_descriptions = { command_descriptions_for_agent = { ConversationCommand.General: "Agent can use the agents knowledge base and general knowledge.", - ConversationCommand.Notes: "Agent can search the users knowledge base for information.", + ConversationCommand.Notes: "Agent can search the personal knowledge base for information, as well as its own.", ConversationCommand.Online: "Agent can search the internet for information.", ConversationCommand.Webpage: "Agent can read suggested web pages for information.", ConversationCommand.Summarize: "Agent can read an entire document. Agents knowledge base must be a single document.",