1010 DEFAULT_TIMEOUT ,
1111 HEADER_ADMIN_KEY ,
1212 HEADER_BYPASS_CACHE ,
13- HEADER_BYPASS_MOE ,
13+ HEADER_BYPASS_MOA ,
1414 HEADER_SHOW_ADDITIONAL_INFO ,
1515 INTERFAZE_BASE_URL ,
1616)
@@ -30,15 +30,15 @@ def _resolve_key(api_key: Optional[str]) -> str:
3030def _build_headers (
3131 default_headers : Optional [Dict [str , str ]],
3232 show_additional_info : bool ,
33- bypass_moe : bool ,
33+ bypass_moa : bool ,
3434 bypass_cache : bool ,
3535 admin_key : Optional [str ],
3636) -> Dict [str , str ]:
3737 headers : Dict [str , str ] = dict (default_headers or {})
3838 if show_additional_info :
3939 headers [HEADER_SHOW_ADDITIONAL_INFO ] = "true"
40- if bypass_moe :
41- headers [HEADER_BYPASS_MOE ] = "true"
40+ if bypass_moa :
41+ headers [HEADER_BYPASS_MOA ] = "true"
4242 if bypass_cache :
4343 headers [HEADER_BYPASS_CACHE ] = "true"
4444 if admin_key :
@@ -53,7 +53,7 @@ def __init__(
5353 api_key : Optional [str ] = None ,
5454 base_url : Optional [str ] = None ,
5555 show_additional_info : bool = False ,
56- bypass_moe : bool = False ,
56+ bypass_moa : bool = False ,
5757 bypass_cache : bool = False ,
5858 admin_key : Optional [str ] = None ,
5959 default_headers : Optional [Dict [str , str ]] = None ,
@@ -64,7 +64,7 @@ def __init__(
6464 api_key = _resolve_key (api_key ),
6565 base_url = base_url or INTERFAZE_BASE_URL ,
6666 default_headers = _build_headers (
67- default_headers , show_additional_info , bypass_moe , bypass_cache , admin_key
67+ default_headers , show_additional_info , bypass_moa , bypass_cache , admin_key
6868 ),
6969 ** kwargs ,
7070 )
@@ -80,7 +80,7 @@ def __init__(
8080 api_key : Optional [str ] = None ,
8181 base_url : Optional [str ] = None ,
8282 show_additional_info : bool = False ,
83- bypass_moe : bool = False ,
83+ bypass_moa : bool = False ,
8484 bypass_cache : bool = False ,
8585 admin_key : Optional [str ] = None ,
8686 default_headers : Optional [Dict [str , str ]] = None ,
@@ -91,7 +91,7 @@ def __init__(
9191 api_key = _resolve_key (api_key ),
9292 base_url = base_url or INTERFAZE_BASE_URL ,
9393 default_headers = _build_headers (
94- default_headers , show_additional_info , bypass_moe , bypass_cache , admin_key
94+ default_headers , show_additional_info , bypass_moa , bypass_cache , admin_key
9595 ),
9696 ** kwargs ,
9797 )
0 commit comments