Merge branch 'master' of github.com:khoj-ai/khoj into features/add-chat-controls

This commit is contained in:
sabaimran
2025-01-17 17:49:08 -08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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.",