Skip to content

Commit

Permalink
Merge pull request #779 from arc53/bug/fix-patj
Browse files Browse the repository at this point in the history
fix path bug on default
  • Loading branch information
dartpain authored Nov 17, 2023
2 parents ba77a67 + 852b016 commit 5925aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/api/answer/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def run_async_chain(chain, question, chat_history):

def get_vectorstore(data):
if "active_docs" in data:
if data["active_docs"].split("/")[1] == "default":
if data["active_docs"].split("/")[0] == "default":
vectorstore = ""
elif data["active_docs"].split("/")[0] == "local":
vectorstore = "indexes/" + data["active_docs"]
Expand Down

2 comments on commit 5925aa5

@vercel
Copy link

@vercel vercel bot commented on 5925aa5 Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs-gpt – ./frontend

docs-gpt-git-main-arc53.vercel.app
docs-gpt-brown.vercel.app
docs-gpt-arc53.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 5925aa5 Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextra-docsgpt – ./docs

nextra-docsgpt-arc53.vercel.app
nextra-docsgpt.vercel.app
nextra-docsgpt-git-main-arc53.vercel.app
docs.docsgpt.co.uk

Please sign in to comment.