chore: 修复单测依赖问题(忽略安卓单测)

This commit is contained in:
voidking 2024-07-16 15:21:50 +08:00
parent 0c2b7dad3d
commit 20b3623536
6 changed files with 40 additions and 36 deletions

View file

@ -11,7 +11,7 @@ from multiprocessing import Pipe
class StreamPipe:
def __init__(self,name=None):
def __init__(self, name=None):
self.name = name
self.parent_conn, self.child_conn = Pipe()
self.finish: bool = False

View file

@ -226,8 +226,8 @@ TOKEN_MAX = {
"claude-2.1": 200000,
"claude-3-sonnet-20240229": 200000,
"claude-3-opus-20240229": 200000,
"claude-3-5-sonnet-20240620":200000,
"claude-3-haiku-20240307":200000,
"claude-3-5-sonnet-20240620": 200000,
"claude-3-haiku-20240307": 200000,
"yi-34b-chat-0205": 4000,
"yi-34b-chat-200k": 200000,
"yi-large": 16385,
@ -263,7 +263,6 @@ TOKEN_MAX = {
"qwen-7b-chat": 32000,
"qwen-1.8b-longcontext-chat": 32000,
"qwen-1.8b-chat": 8000,
}
# For Amazon Bedrock US region