mirror of
https://github.com/lanqian528/chat2api.git
synced 2026-06-13 21:02:46 +08:00
v1.2.7 force sse
This commit is contained in:
parent
f72c6d13de
commit
449d184dd4
2
.github/workflows/build_docker.yml
vendored
2
.github/workflows/build_docker.yml
vendored
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user