v1.2.7 force sse

This commit is contained in:
LanQian 2024-06-15 15:28:57 +08:00
parent f72c6d13de
commit 449d184dd4
4 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ jobs:
images: lanqian528/chat2api
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=v1.2.6
type=raw,value=v1.2.7
- name: Build and push
uses: docker/build-push-action@v5

View File

@ -22,7 +22,7 @@
## 功能
### 最新版 v1.2.6
### 最新版 v1.2.7
> 已完成
> - [x] 流式、非流式传输

View File

@ -274,7 +274,7 @@ class ChatService:
"force_paragen": False,
"force_paragen_model_slug": "",
"force_rate_limit": False,
"force_ues_sse": True,
"force_use_sse": True,
"history_and_training_disabled": self.history_disabled,
"messages": chat_messages,
"model": self.req_model,

View File

@ -42,7 +42,7 @@ arkose_token_url_list = arkose_token_url.split(',') if arkose_token_url else []
proxy_url_list = proxy_url.split(',') if proxy_url else []
logger.info("-" * 60)
logger.info("Chat2Api v1.2.6 | https://github.com/lanqian528/chat2api")
logger.info("Chat2Api v1.2.7 | https://github.com/lanqian528/chat2api")
logger.info("-" * 60)
logger.info("Environment variables:")
logger.info("API_PREFIX: " + str(api_prefix))