Add SRT json decode example (#2)

This commit is contained in:
Liangsheng Yin
2024-01-10 04:35:44 +08:00
committed by GitHub
parent 93eeb543ba
commit 331848de9d
4 changed files with 33 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import unittest
from sglang.test.test_programs import (
test_decode_int,
test_decode_json,
test_decode_json_regex,
test_expert_answer,
test_few_shot_qa,
test_mt_bench,
@@ -44,6 +44,9 @@ class TestSRTBackend(unittest.TestCase):
def test_decode_int(self):
test_decode_int()
def test_decode_json_regex(self):
test_decode_json_regex()
def test_expert_answer(self):
test_expert_answer()