Compare commits

...

2 Commits

Author SHA1 Message Date
-LAN-
1527ff266a ci(workflow): include new branch in build-push trigger
- Added "0.9.0-22" branch to GitHub Actions build-push workflow
- Ensures automated builds and pushes for "0.9.0-22" branch
2024-10-01 16:59:38 +08:00
Hash Brown
29ba0a20ab fix: chat API is not bringing the conversation/session history (#8965) 2024-10-01 16:39:59 +08:00
2 changed files with 3 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ on:
branches:
- "main"
- "deploy/dev"
- "0.9.0-22"
release:
types: [published]

View File

@@ -4,6 +4,7 @@ from flask_restful import Resource, reqparse
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,
@@ -107,6 +108,7 @@ class ChatApi(Resource):
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()