Skip to content

Commit

Permalink
fix o1 compat problem
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Oct 13, 2024
1 parent 2fe5feb commit adbed04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions request_llms/bridge_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ def decode(self, *args, **kwargs):
"max_token": 128000,
"tokenizer": tokenizer_gpt4,
"token_cnt": get_token_num_gpt4,
"openai_disable_system_prompt": True,
"openai_disable_stream": True,
},
"o1-mini": {
"fn_with_ui": chatgpt_ui,
Expand All @@ -264,6 +266,8 @@ def decode(self, *args, **kwargs):
"max_token": 128000,
"tokenizer": tokenizer_gpt4,
"token_cnt": get_token_num_gpt4,
"openai_disable_system_prompt": True,
"openai_disable_stream": True,
},

"gpt-4-turbo": {
Expand Down

0 comments on commit adbed04

Please sign in to comment.