ai-forever commited on
Commit
0e434ca
·
verified ·
1 Parent(s): 6955048

change timeout from 120 to 5 in get_response_json

Browse files
Files changed (1) hide show
  1. src/gigachat.py +2 -1
src/gigachat.py CHANGED
@@ -60,7 +60,8 @@ token_data: Optional[Dict[str, Any]] = None
60
  def get_response_json(
61
  prompt: str,
62
  model: str,
63
- timeout: int = 120,
 
64
  n: int = 1,
65
  fuse_key_word: Optional[str] = None,
66
  use_giga_censor: bool = False,
 
60
  def get_response_json(
61
  prompt: str,
62
  model: str,
63
+ # timeout: int = 120,
64
+ timeout: int = 5,
65
  n: int = 1,
66
  fuse_key_word: Optional[str] = None,
67
  use_giga_censor: bool = False,