mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-04 08:16:42 +08:00
update ci (#3519)
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled
Deploy GitHub Pages / deploy (push) Has been cancelled
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled
Deploy GitHub Pages / deploy (push) Has been cancelled
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
|
||||
import json
|
||||
|
||||
import pytest
|
||||
from core import TEMPLATE, URL, build_request_payload, get_stream_chunks, send_request
|
||||
|
||||
|
||||
@@ -106,7 +105,6 @@ def test_chat_usage_non_stream():
|
||||
), f"total_tokens不等于prompt_tokens + completion_tokens, usage: {usage}"
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="修复后打开")
|
||||
def test_non_chat_usage_stream():
|
||||
"""测试completions 流式 usage"""
|
||||
data = {
|
||||
|
@@ -357,7 +357,6 @@ def test_chat_usage_non_stream(api_url):
|
||||
assert usage["total_tokens"] == total_tokens, "total_tokens不等于prompt_tokens + completion_tokens"
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="修复后打开")
|
||||
def test_non_chat_usage_stream(api_url):
|
||||
"""测试流式非chat usage"""
|
||||
payload = {
|
||||
|
Reference in New Issue
Block a user