Skip to content

Commit 883b513

Browse files
committed
add can_multi_thread
1 parent 24cebaf commit 883b513

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

request_llms/bridge_all.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ def decode(self, *args, **kwargs):
282282
"fn_with_ui": chatgpt_ui,
283283
"fn_without_ui": chatgpt_noui,
284284
"endpoint": openai_endpoint,
285+
"can_multi_thread": True,
285286
"max_token": 128000,
286287
"tokenizer": tokenizer_gpt4,
287288
"token_cnt": get_token_num_gpt4,
@@ -351,6 +352,7 @@ def decode(self, *args, **kwargs):
351352
"fn_with_ui": chatgpt_ui,
352353
"fn_without_ui": chatgpt_noui,
353354
"has_multimodal_capacity": True,
355+
"can_multi_thread": True,
354356
"endpoint": openai_endpoint,
355357
"max_token": 828000,
356358
"tokenizer": tokenizer_gpt4,

0 commit comments

Comments
 (0)