Skip to content

Commit

Permalink
fix(chats): fix history for now thanks James
Browse files Browse the repository at this point in the history
marco-bertelli committed Mar 18, 2024
1 parent 812e539 commit a4cd468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/chats.py
Original file line number Diff line number Diff line change
@@ -91,9 +91,9 @@ def query_index(chatId):
chat_history=history
)

# re-add history when fix perplexity API problem with llama_index guys
chat_engine = ContextChatEngine.from_defaults(
retriever=query_engine,
memory=memory,
service_context=service_context,
system_prompt=(
"""\

0 comments on commit a4cd468

Please sign in to comment.