mirror of https://github.com/aliasrobotics/cai.git
FIX for making o3-mini work
This commit is contained in:
parent
ee88d5e784
commit
057dbc2aa0
|
|
@ -93,6 +93,9 @@ if TYPE_CHECKING:
|
|||
# Suppress debug info from litellm
|
||||
litellm.suppress_debug_info = True
|
||||
|
||||
if os.getenv('CAI_MODEL') == "o3-mini":
|
||||
litellm.drop_params = True
|
||||
|
||||
_USER_AGENT = f"Agents/Python {__version__}"
|
||||
_HEADERS = {"User-Agent": _USER_AGENT}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue