Skip to content

Commit

Permalink
Revert "fix: chat API is not bringing the conversation/session history (
Browse files Browse the repository at this point in the history
langgenius#8965)"

This reverts commit 5f8a270.
  • Loading branch information
xuzuodong committed Oct 1, 2024
1 parent 5f8a270 commit 549de89
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/controllers/service_api/app/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from werkzeug.exceptions import InternalServerError, NotFound

import services
from constants import UUID_NIL
from controllers.service_api import api
from controllers.service_api.app.error import (
AppUnavailableError,
Expand Down Expand Up @@ -108,7 +107,6 @@ def post(self, app_model: App, end_user: EndUser):
parser.add_argument("conversation_id", type=uuid_value, location="json")
parser.add_argument("retriever_from", type=str, required=False, default="dev", location="json")
parser.add_argument("auto_generate_name", type=bool, required=False, default=True, location="json")
parser.add_argument("parent_message_id", type=uuid_value, required=False, default=UUID_NIL, location="json")

args = parser.parse_args()

Expand Down

0 comments on commit 549de89

Please sign in to comment.